ReactOS  0.4.12-dev-708-g95ed44e
mem_fun1_t< _Ret, _Tp, _Arg > Class Template Reference

#include <_function_adaptors.h>

Inheritance diagram for mem_fun1_t< _Ret, _Tp, _Arg >:
Collaboration diagram for mem_fun1_t< _Ret, _Tp, _Arg >:

Public Member Functions

 mem_fun1_t (__fun_type __pf)
 
_Ret operator() (_Tp *__p, _Arg __x) const
 

Private Types

typedef _Ret(_Tp::* __fun_type) (_Arg)
 

Private Attributes

__fun_type _M_f
 

Additional Inherited Members

- Public Types inherited from binary_function< _Tp *, _Arg, _Ret >
typedef _Tp * first_argument_type
 
typedef _Arg second_argument_type
 
typedef _Ret result_type
 
- Protected Member Functions inherited from binary_function< _Tp *, _Arg, _Ret >
 ~binary_function ()
 

Detailed Description

template<class _Ret, class _Tp, class _Arg>
class mem_fun1_t< _Ret, _Tp, _Arg >

Definition at line 539 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

template<class _Ret , class _Tp , class _Arg >
typedef _Ret(_Tp::* mem_fun1_t< _Ret, _Tp, _Arg >::__fun_type) (_Arg)
private

Definition at line 540 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ mem_fun1_t()

template<class _Ret , class _Tp , class _Arg >
mem_fun1_t< _Ret, _Tp, _Arg >::mem_fun1_t ( __fun_type  __pf)
inlineexplicit

Definition at line 542 of file _function_adaptors.h.

542 : _M_f(__pf) {}
__fun_type _M_f

Member Function Documentation

◆ operator()()

template<class _Ret , class _Tp , class _Arg >
_Ret mem_fun1_t< _Ret, _Tp, _Arg >::operator() ( _Tp *  __p,
_Arg  __x 
) const
inline

Definition at line 543 of file _function_adaptors.h.

543 { return (__p->*_M_f)(__x); }
__fun_type _M_f

Member Data Documentation

◆ _M_f

template<class _Ret , class _Tp , class _Arg >
__fun_type mem_fun1_t< _Ret, _Tp, _Arg >::_M_f
private

Definition at line 545 of file _function_adaptors.h.

Referenced by mem_fun1_t< _Ret, _Tp, _Arg >::operator()().


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