mimic++ v2
Loading...
Searching...
No Matches
mimicpp::expectation_policies::ApplyAllArgsAction< Action, Projection > Class Template Reference

#include <ExpectationPolicies.hpp>

Public Types

template<typename Arg >
using ProjectedArgT = Projection<Arg>
 

Public Member Functions

constexpr ApplyAllArgsAction (Action action={}) noexcept(std::is_nothrow_move_constructible_v< Action >)
 
template<typename Return , typename... Args>
requires std::invocable< const Action&, ProjectedArgT<Args>...>
constexpr decltype(auto) operator() (const call::Info< Return, Args... > &callInfo) const noexcept(std::is_nothrow_invocable_v< const Action &, ProjectedArgT< Args >... >)
 

Member Typedef Documentation

◆ ProjectedArgT

template<typename Action , template< typename > typename Projection>
template<typename Arg >
using mimicpp::expectation_policies::ApplyAllArgsAction< Action, Projection >::ProjectedArgT = Projection<Arg>

Constructor & Destructor Documentation

◆ ApplyAllArgsAction()

template<typename Action , template< typename > typename Projection>
mimicpp::expectation_policies::ApplyAllArgsAction< Action, Projection >::ApplyAllArgsAction ( Action action = {})
inlineexplicitnodiscardconstexprnoexcept

Member Function Documentation

◆ operator()()

template<typename Action , template< typename > typename Projection>
template<typename Return , typename... Args>
requires std::invocable< const Action&, ProjectedArgT<Args>...>
decltype(auto) mimicpp::expectation_policies::ApplyAllArgsAction< Action, Projection >::operator() ( const call::Info< Return, Args... > & callInfo) const
inlineconstexprnoexcept

The documentation for this class was generated from the following file: