|
mimic++ v10.0.1
|
#include "mimic++/Fwd.hpp"#include "mimic++/config/Config.hpp"#include "mimic++/expectation/Common.hpp"#include "mimic++/expectation/policies/ArgumentList.hpp"#include <concepts>#include <cstddef>#include <functional>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| class | mimicpp::expectation::policies::SideEffectAction< Action > |
Namespaces | |
| namespace | mimicpp |
| namespace | mimicpp::expectation |
| namespace | mimicpp::expectation::policies |
| namespace | mimicpp::then |
Functions | |
| 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. | |