Template Class ContainsElementMatcher

Inheritance Relationships

Base Type

Class Documentation

template<typename T, typename Equality>
class ContainsElementMatcher : public Catch::Matchers::MatcherGenericBase

Matcher for checking that an element in range is equal to specific element.

Public Functions

template<typename T2, typename Equality2>
inline ContainsElementMatcher(T2 &&target, Equality2 &&predicate)
inline virtual std::string describe() const override
template<typename RangeLike>
inline bool match(RangeLike &&rng) const