STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::detail::const_apply_get_helper< PMF, Args > Class Template Reference

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, non-mutating invocations for accessor_base, avoiding compilation overhead of lambda + bind operation. More...

Public Member Functions

 const_apply_get_helper (PMF pmf, Args const &... args)
 
template<typename T >
result_type operator() (T const &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
 

Detailed Description

template<typename PMF, typename... Args>
class stapl::detail::const_apply_get_helper< PMF, Args >

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, non-mutating invocations for accessor_base, avoiding compilation overhead of lambda + bind operation.


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