#include <catch.hpp>
Public Member Functions | |
PredicateMatcher (std::function< bool(T const &)> const &elem, std::string const &descr) | |
bool | match (T const &item) const override |
std::string | describe () const override |
MatchAllOf< T > | operator&& (MatcherBase const &other) const |
MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
MatchNotOf< T > | operator! () const |
std::string | toString () const |
Protected Attributes | |
std::string | m_cachedToString |
Private Attributes | |
std::function< bool(T const &)> | m_predicate |
std::string | m_description |
|
inline |
|
inlineoverridevirtual |
Implements Catch::Matchers::Impl::MatcherUntypedBase.
|
inlineoverridevirtual |
Implements Catch::Matchers::Impl::MatcherMethod< T >.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
mutableprotectedinherited |
|
private |
|
private |