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

Public Member Functions

 const_mem_fun1_t (_Result(_Ty::*_Pm)(_Arg) const)
 
_Result operator() (const _Ty *_Pleft, _Arg _Right) const
 

Private Attributes

_Result(_Ty::* _Pmemfun )(_Arg) const
 

Additional Inherited Members

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

Constructor & Destructor Documentation

template<class _Result , class _Ty , class _Arg >
const_mem_fun1_t< _Result, _Ty, _Arg >::const_mem_fun1_t ( _Result(_Ty::*)(_Arg) const  _Pm)
inlineexplicit
740  : _Pmemfun(_Pm)
741  { // construct from pointer
742  }
_Result(_Ty::* _Pmemfun)(_Arg) const
Definition: xfunctional:750

Member Function Documentation

template<class _Result , class _Ty , class _Arg >
_Result const_mem_fun1_t< _Result, _Ty, _Arg >::operator() ( const _Ty *  _Pleft,
_Arg  _Right 
) const
inline
745  { // call function with operand
746  return ((_Pleft->*_Pmemfun)(_Right));
747  }
_Result(_Ty::* _Pmemfun)(_Arg) const
Definition: xfunctional:750
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

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

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