STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
const_mem_fun_ref_t< _Result, _Ty > Class Template Reference
Inheritance diagram for const_mem_fun_ref_t< _Result, _Ty >:
unary_function< _Ty, _Result >

Public Member Functions

 const_mem_fun_ref_t (_Result(_Ty::*_Pm)() const)
 
_Result operator() (const _Ty &_Left) const
 

Private Attributes

_Result(_Ty::* _Pmemfun )() const
 

Additional Inherited Members

- Public Types inherited from unary_function< _Ty, _Result >
typedef _Ty argument_type
 
typedef _Result result_type
 

Constructor & Destructor Documentation

template<class _Result , class _Ty >
const_mem_fun_ref_t< _Result, _Ty >::const_mem_fun_ref_t ( _Result(_Ty::*)() const  _Pm)
inlineexplicit
846  : _Pmemfun(_Pm)
847  { // construct from pointer
848  }
_Result(_Ty::* _Pmemfun)() const
Definition: xfunctional:856

Member Function Documentation

template<class _Result , class _Ty >
_Result const_mem_fun_ref_t< _Result, _Ty >::operator() ( const _Ty &  _Left) const
inline
851  { // call function
852  return ((_Left.*_Pmemfun)());
853  }
_Result(_Ty::* _Pmemfun)() const
Definition: xfunctional:856

Member Data Documentation

template<class _Result , class _Ty >
_Result(_Ty::* const_mem_fun_ref_t< _Result, _Ty >::_Pmemfun) () const
private

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