mimic++ v4
Loading...
Searching...
No Matches
mimicpp::then Namespace Reference

Functions

template<std::size_t index, typename Action >
constexpr auto apply_arg (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >)
 Applies the argument at the specified index on the given action.
 
template<std::size_t index, std::size_t... additionalIndices, typename Action >
constexpr auto apply_args (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >)
 Applies the arguments at the specified index and in that order on the given action.
 
template<typename Action >
constexpr auto apply_all (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >)
 Applies all arguments on the given action.
 
template<std::invocable Action>
constexpr auto invoke (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >)
 Invokes the given function.