mimic++ v4
|
Functions | |
template<typename Fun > requires std::invocable<std::remove_cvref_t<Fun>&> && (!std::is_void_v<std::invoke_result_t<std::remove_cvref_t<Fun>&>>) | |
constexpr auto | returns_result_of (Fun &&fun) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Fun >, Fun >) |
During the finalization step, the invocation result of the given function is returned. | |
template<typename T > requires std::copyable<std::remove_cvref_t<T>> | |
constexpr auto | returns (T &&value) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< T >, T >) |
During the finalization step, the stored value is returned. | |
template<std::size_t index, std::size_t... otherIndices, typename Action > | |
constexpr auto | returns_apply_result_of (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >) |
During the finalization step, the selected call arguments are applied on the given action. | |
template<typename Action > | |
constexpr auto | returns_apply_all_result_of (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >) |
During the finalization step, all call arguments are applied on the given action. | |
template<std::size_t index> | |
constexpr auto | returns_arg () noexcept |
During the finalization step, the selected call argument is returned. | |
template<typename T > requires std::copyable<std::remove_cvref_t<T>> | |
constexpr expectation_policies::Throws< std::remove_cvref_t< T > > | throws (T &&exception) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< T >, T >) |
During the finalization step, the given exception is thrown. | |