Horizon
Loading...
Searching...
No Matches
Catch::Matchers::Detail::MatchAnyOfGeneric< MatcherTs > Class Template Referencefinal
Inheritance diagram for Catch::Matchers::Detail::MatchAnyOfGeneric< MatcherTs >:
Catch::Matchers::MatcherGenericBase Catch::Matchers::MatcherUntypedBase

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
Public Member Functions inherited from Catch::Matchers::MatcherGenericBase
 MatcherGenericBase (MatcherGenericBase &)=default
 MatcherGenericBase (MatcherGenericBase &&)=default
MatcherGenericBase & operator= (MatcherGenericBase const &)=delete
MatcherGenericBase & operator= (MatcherGenericBase &&)=delete
Public Member Functions inherited from Catch::Matchers::MatcherUntypedBase
 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

Protected Attributes inherited from Catch::Matchers::MatcherUntypedBase
std::string m_cachedToString

Member Function Documentation

◆ describe()

template<typename... MatcherTs>
std::string Catch::Matchers::Detail::MatchAnyOfGeneric< MatcherTs >::describe ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: