Template Function Catch::Matchers::Contains(T&&)
Defined in File catch_amalgamated.hpp
Function Documentation
-
template<typename T>
std::enable_if_t<!Detail::is_matcher<T>::value, ContainsElementMatcher<T, std::equal_to<>>> Catch::Matchers::Contains(T &&elem) Creates a matcher that checks whether a range contains a specific element.
Uses
std::equal_to
to do the comparison