Functor which stores a pointer to member function and corresponding arguments, making the invocation on an object passed to it when called. Handles non-void returning, mutating invocations for accessor_base, avoiding compilation overhead of lambda + bind operation. More...
Public Member Functions | |
apply_get_helper (PMF pmf, Args const &... args) | |
template<typename T > | |
result_type | operator() (T &t) const |
template<typename T , typename Accessor > | |
result_type | operator() (proxy< T, Accessor > const &t) const |
Public Types | |
using | result_type = typename callable_traits< PMF >::result_type |
Functor which stores a pointer to member function and corresponding arguments, making the invocation on an object passed to it when called. Handles non-void returning, mutating invocations for accessor_base, avoiding compilation overhead of lambda + bind operation.