ReactOS  0.4.12-dev-685-gf36cbf7
mem_fun_t< _Ret, _Tp > Class Template Reference

#include <_function_adaptors.h>

Inheritance diagram for mem_fun_t< _Ret, _Tp >:
Collaboration diagram for mem_fun_t< _Ret, _Tp >:

Public Member Functions

 mem_fun_t (__fun_type __pf)
 
_Ret operator() (_Tp *__p) const
 

Private Types

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

Private Attributes

__fun_type _M_f
 

Additional Inherited Members

- Public Types inherited from unary_function< _Tp *, _Ret >
typedef _Tp * argument_type
 
typedef _Ret result_type
 
- Protected Member Functions inherited from unary_function< _Tp *, _Ret >
 ~unary_function ()
 

Detailed Description

template<class _Ret, class _Tp>
class mem_fun_t< _Ret, _Tp >

Definition at line 499 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

template<class _Ret , class _Tp >
typedef _Ret(_Tp::* mem_fun_t< _Ret, _Tp >::__fun_type) (void)
private

Definition at line 500 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ mem_fun_t()

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

Definition at line 502 of file _function_adaptors.h.

502 : _M_f(__pf) {}
__fun_type _M_f

Member Function Documentation

◆ operator()()

template<class _Ret , class _Tp >
_Ret mem_fun_t< _Ret, _Tp >::operator() ( _Tp *  __p) const
inline

Definition at line 503 of file _function_adaptors.h.

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

Member Data Documentation

◆ _M_f

template<class _Ret , class _Tp >
__fun_type mem_fun_t< _Ret, _Tp >::_M_f
private

Definition at line 505 of file _function_adaptors.h.

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


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