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

Public Member Functions

 mem_fun1_t (_Result(_Ty::*_Pm)(_Arg))
 
_Result operator() (_Ty *_Pleft, _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_t< _Result, _Ty, _Arg >::mem_fun1_t ( _Result(_Ty::*)(_Arg)  _Pm)
inlineexplicit
697  : _Pmemfun(_Pm)
698  { // construct from pointer
699  }
_Result(_Ty::* _Pmemfun)(_Arg)
Definition: xfunctional:707

Member Function Documentation

template<class _Result , class _Ty , class _Arg >
_Result mem_fun1_t< _Result, _Ty, _Arg >::operator() ( _Ty *  _Pleft,
_Arg  _Right 
) const
inline
702  { // call function with operand
703  return ((_Pleft->*_Pmemfun)(_Right));
704  }
_Result(_Ty::* _Pmemfun)(_Arg)
Definition: xfunctional:707
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

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

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