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

Public Member Functions

 mem_fun1_ref_t (_Result(_Ty::*_Pm)(_Arg))
 
_Result operator() (_Ty &_Left, _Arg _Right) const
 

Private Attributes

_Result(_Ty::* _Pmemfun )(_Arg)
 

Additional Inherited Members

- Public Types inherited from binary_function< _Ty, _Arg, _Result >
typedef _Ty first_argument_type
 
typedef _Arg second_argument_type
 
typedef _Result result_type
 

Constructor & Destructor Documentation

template<class _Result , class _Ty , class _Arg >
mem_fun1_ref_t< _Result, _Ty, _Arg >::mem_fun1_ref_t ( _Result(_Ty::*)(_Arg)  _Pm)
inlineexplicit
825  : _Pmemfun(_Pm)
826  { // construct from pointer
827  }
_Result(_Ty::* _Pmemfun)(_Arg)
Definition: xfunctional:835

Member Function Documentation

template<class _Result , class _Ty , class _Arg >
_Result mem_fun1_ref_t< _Result, _Ty, _Arg >::operator() ( _Ty &  _Left,
_Arg  _Right 
) const
inline
830  { // call function with operand
831  return ((_Left.*_Pmemfun)(_Right));
832  }
_Result(_Ty::* _Pmemfun)(_Arg)
Definition: xfunctional:835
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

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

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