Template Class MatchNotOfGeneric

Inheritance Relationships

Base Type

Class Documentation

template<typename MatcherT>
class MatchNotOfGeneric : public Catch::Matchers::MatcherGenericBase

Public Functions

MatchNotOfGeneric(MatchNotOfGeneric const&) = delete
MatchNotOfGeneric &operator=(MatchNotOfGeneric const&) = delete
MatchNotOfGeneric(MatchNotOfGeneric&&) = default
MatchNotOfGeneric &operator=(MatchNotOfGeneric&&) = default
inline explicit MatchNotOfGeneric(MatcherT const &matcher)
template<typename Arg>
inline bool match(Arg &&arg) const
inline virtual std::string describe() const override

Friends

inline friend MatcherT const &operator!(MatchNotOfGeneric<MatcherT> const &matcher)

Negating negation can just unwrap and return underlying matcher.