mimic++ v10.0.1
Loading...
Searching...
No Matches
mimicpp::expectation::finalize_policy_for Concept Reference

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

#include <Common.hpp>

Concept definition

template<typename T, typename Signature>
concept 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, call::info_for_signature_t<Signature> const& 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 signa...
Definition Common.hpp:63
typename info_for_signature< Signature >::type info_for_signature_t
Definition Call.hpp:47

Detailed Description

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