|
mimic++ v10.0.1
|
#include "mimic++/Fwd.hpp"#include "mimic++/config/Config.hpp"#include "mimic++/matchers/Common.hpp"#include "mimic++/printing/Format.hpp"#include "mimic++/printing/Fwd.hpp"#include "mimic++/printing/StatePrinter.hpp"#include "mimic++/printing/TypePrinter.hpp"#include "mimic++/utilities/Concepts.hpp"#include <array>#include <any>#include <functional>#include <tuple>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| class | mimicpp::PredicateMatcher< Predicate, AdditionalArgs > |
| Generic matcher and the basic building block of most of the built-in matchers. More... | |
| class | mimicpp::MatchEvaluationContext< Args > |
| class | mimicpp::GenericMatcher< isInverted, Predicate, Args > |
| class | mimicpp::WildcardMatcher |
| Matcher, which never fails. More... | |
| class | mimicpp::TypeMatcher< T > |
| Matcher, which can be used to disambiguate between similar overloads. More... | |
Namespaces | |
| namespace | mimicpp |
| namespace | mimicpp::matches |
Functions | |
| template<typename Predicate, typename... Args> | |
| constexpr auto | mimicpp::make_generic_matcher (Predicate &&predicate, format::format_string< format::fallback_formattable_t< Args >... > const formatString, Args &&... args) |
| template<typename T> | |
| constexpr auto | mimicpp::matches::eq (T &&value) |
| Tests, whether the target compares equal to the expected value. | |
| template<typename T> | |
| constexpr auto | mimicpp::matches::ne (T &&value) |
| Tests, whether the target compares not equal to the expected value. | |
| template<typename T> | |
| constexpr auto | mimicpp::matches::lt (T &&value) |
| Tests, whether the target is less than the expected value. | |
| template<typename T> | |
| constexpr auto | mimicpp::matches::le (T &&value) |
| Tests, whether the target is less than or equal to the expected value. | |
| template<typename T> | |
| constexpr auto | mimicpp::matches::gt (T &&value) |
| Tests, whether the target is greater than the expected value. | |
| template<typename T> | |
| constexpr auto | mimicpp::matches::ge (T &&value) |
| Tests, whether the target is greater than or equal to the expected value. | |
| template<typename UnaryPredicate> | |
| constexpr auto | mimicpp::matches::predicate (UnaryPredicate &&predicate, StringViewT description="passes predicate", StringViewT invertedDescription="fails predicate") |
| Tests, whether the target fulfills the given predicate. | |
| template<util::satisfies< std::is_lvalue_reference > T> | |
| constexpr auto | mimicpp::matches::instance (T &&instance) |
| Tests whether the target is the expected instance. | |
Variables | |
| constexpr WildcardMatcher | mimicpp::matches::_ {} |
| The wildcard matcher, always matching. | |
| template<typename T> | |
| constexpr TypeMatcher< T > | mimicpp::matches::type {} |
| Matcher, which can be used as a last resort to disambiguate similar overloads. | |