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_t< _Result, _Ty > Class Template Reference
Inheritance diagram for const_mem_fun_t< _Result, _Ty >:
unary_function< const _Ty *, _Result >

Public Member Functions

 const_mem_fun_t (_Result(_Ty::*_Pm)() const)
 
_Result operator() (const _Ty *_Pleft) const
 

Private Attributes

_Result(_Ty::* _Pmemfun )() const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<class _Result , class _Ty >
const_mem_fun_t< _Result, _Ty >::const_mem_fun_t ( _Result(_Ty::*)() const  _Pm)
inlineexplicit
718  : _Pmemfun(_Pm)
719  { // construct from pointer
720  }
_Result(_Ty::* _Pmemfun)() const
Definition: xfunctional:728

Member Function Documentation

template<class _Result , class _Ty >
_Result const_mem_fun_t< _Result, _Ty >::operator() ( const _Ty *  _Pleft) const
inline
723  { // call function
724  return ((_Pleft->*_Pmemfun)());
725  }
_Result(_Ty::* _Pmemfun)() const
Definition: xfunctional:728

Member Data Documentation

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

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