mimic++ v5
Loading...
Searching...
No Matches
mimicpp::matches Namespace Reference

Namespaces

namespace  range
 
namespace  str
 

Functions

template<typename T >
constexpr auto eq (T &&value)
 Tests, whether the target compares equal to the expected value.
 
template<typename T >
constexpr auto ne (T &&value)
 Tests, whether the target compares not equal to the expected value.
 
template<typename T >
constexpr auto lt (T &&value)
 Tests, whether the target is less than the expected value.
 
template<typename T >
constexpr auto le (T &&value)
 Tests, whether the target is less than or equal to the expected value.
 
template<typename T >
constexpr auto gt (T &&value)
 Tests, whether the target is greater than the expected value.
 
template<typename T >
constexpr auto ge (T &&value)
 Tests, whether the target is greater than or equal to the expected value.
 
template<typename UnaryPredicate >
constexpr auto predicate (UnaryPredicate &&predicate, StringT description="passes predicate", StringT invertedDescription="fails predicate")
 Tests, whether the target fulfills the given predicate.
 
template<satisfies< std::is_lvalue_reference > T>
constexpr auto instance (T &&instance)
 Tests, whether the target is the expected instance.
 

Variables

constexpr WildcardMatcher _ {}
 The wildcard matcher, always matching.