mimic++ v2
Loading...
Searching...
No Matches
mimicpp::matcher_for Concept Reference

#include <Matcher.hpp>

Concept definition

template<typename T, typename Target>
concept mimicpp::matcher_for = std::same_as<T, std::remove_cvref_t<T>>
&& std::is_move_constructible_v<T>
&& std::destructible<T>
&& requires(const T& matcher, Target& target)
{
{ detail::matches_hook::matches(matcher, target) } -> std::convertible_to<bool>;
{ detail::describe_hook::describe(matcher) } -> std::convertible_to<StringViewT>;
}
Definition Matcher.hpp:116