Horizon
|
Public Member Functions | |
MatchAnyOfGeneric (MatchAnyOfGeneric const &)=delete | |
MatchAnyOfGeneric & | operator= (MatchAnyOfGeneric const &)=delete |
MatchAnyOfGeneric (MatchAnyOfGeneric &&)=default | |
MatchAnyOfGeneric & | operator= (MatchAnyOfGeneric &&)=default |
MatchAnyOfGeneric (MatcherTs const &... matchers) | |
MatchAnyOfGeneric (std::array< void const *, sizeof...(MatcherTs)> matchers) | |
template<typename Arg > | |
bool | match (Arg &&arg) const |
std::string | describe () const override |
![]() | |
MatcherGenericBase (MatcherGenericBase &)=default | |
MatcherGenericBase (MatcherGenericBase &&)=default | |
MatcherGenericBase & | operator= (MatcherGenericBase const &)=delete |
MatcherGenericBase & | operator= (MatcherGenericBase &&)=delete |
![]() | |
MatcherUntypedBase (MatcherUntypedBase const &)=default | |
MatcherUntypedBase (MatcherUntypedBase &&)=default | |
MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
MatcherUntypedBase & | operator= (MatcherUntypedBase &&)=delete |
std::string | toString () const |
Public Attributes | |
std::array< void const *, sizeof...(MatcherTs)> | m_matchers |
Friends | |
template<typename... MatchersRHS> | |
MatchAnyOfGeneric< MatcherTs..., MatchersRHS... > | operator|| (MatchAnyOfGeneric< MatcherTs... > &&lhs, MatchAnyOfGeneric< MatchersRHS... > &&rhs) |
Avoids type nesting for GenericAnyOf || GenericAnyOf case. | |
template<typename MatcherRHS > | |
std::enable_if_t< is_matcher< MatcherRHS >::value, MatchAnyOfGeneric< MatcherTs..., MatcherRHS > > | operator|| (MatchAnyOfGeneric< MatcherTs... > &&lhs, MatcherRHS const &rhs) |
Avoids type nesting for GenericAnyOf || some matcher case. | |
template<typename MatcherLHS > | |
std::enable_if_t< is_matcher< MatcherLHS >::value, MatchAnyOfGeneric< MatcherLHS, MatcherTs... > > | operator|| (MatcherLHS const &lhs, MatchAnyOfGeneric< MatcherTs... > &&rhs) |
Avoids type nesting for some matcher || GenericAnyOf case. | |
Additional Inherited Members | |
![]() | |
std::string | m_cachedToString |
|
inlineoverridevirtual |
Implements Catch::Matchers::MatcherUntypedBase.