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

Public Member Functions

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

Private Attributes

_Result(_Ty::* _Pmemfun )()
 

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 >
mem_fun_t< _Result, _Ty >::mem_fun_t ( _Result(_Ty::*)()  _Pm)
inlineexplicit
675  : _Pmemfun(_Pm)
676  { // construct from pointer
677  }
_Result(_Ty::* _Pmemfun)()
Definition: xfunctional:685

Member Function Documentation

template<class _Result , class _Ty >
_Result mem_fun_t< _Result, _Ty >::operator() ( _Ty *  _Pleft) const
inline
680  { // call function
681  return ((_Pleft->*_Pmemfun)());
682  }
_Result(_Ty::* _Pmemfun)()
Definition: xfunctional:685

Member Data Documentation

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

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