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

Public Member Functions

 mem_fun_ref_t (_Result(_Ty::*_Pm)())
 
_Result operator() (_Ty &_Left) 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_ref_t< _Result, _Ty >::mem_fun_ref_t ( _Result(_Ty::*)()  _Pm)
inlineexplicit
803  : _Pmemfun(_Pm)
804  { // construct from pointer
805  }
_Result(_Ty::* _Pmemfun)()
Definition: xfunctional:813

Member Function Documentation

template<class _Result , class _Ty >
_Result mem_fun_ref_t< _Result, _Ty >::operator() ( _Ty &  _Left) const
inline
808  { // call function
809  return ((_Left.*_Pmemfun)());
810  }
_Result(_Ty::* _Pmemfun)()
Definition: xfunctional:813

Member Data Documentation

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

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