mimic++ v5
Loading...
Searching...
No Matches
mimicpp::finalize_policy_for Concept Reference

Determines, whether the given type satisfies the requirements of a finalize-policy for the given signature. More...

#include <Expectation.hpp>

Concept definition

template<typename T, typename Signature>
concept mimicpp::finalize_policy_for = std::is_move_constructible_v<T>
&& std::is_destructible_v<T>
&& std::same_as<T, std::remove_cvref_t<T>>
&& requires(T& policy, const call::info_for_signature_t<Signature>& info) {
{ policy.finalize_call(info) } -> std::convertible_to<signature_return_type_t<Signature>>;
}
Determines, whether the given type satisfies the requirements of a finalize-policy for the given sign...
Definition Expectation.hpp:376
typename info_for_signature< Signature >::type info_for_signature_t
Definition Call.hpp:69

Detailed Description

Determines, whether the given type satisfies the requirements of a finalize-policy for the given signature.