#include "mimic++/Fwd.hpp"
#include "mimic++/policies/ArgumentList.hpp"
#include <concepts>
#include <functional>
#include <type_traits>
#include <utility>
Go to the source code of this file.
|
template<std::size_t index, typename Action> |
constexpr auto | mimicpp::then::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 | mimicpp::then::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 | mimicpp::then::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 | mimicpp::then::invoke (Action &&action) noexcept(std::is_nothrow_constructible_v< std::remove_cvref_t< Action >, Action >) |
| Invokes the given function.
|
|