Template Function Catch::Matchers::Predicate
Defined in File catch_amalgamated.hpp
Function Documentation
-
template<typename T, typename Pred>
PredicateMatcher<T, Pred> Catch::Matchers::Predicate(Pred &&predicate, std::string const &description = "") Creates a matcher that calls delegates
match
to the provided predicate.The user has to explicitly specify the argument type to the matcher