ReactOS 0.4.15-dev-7942-gd23573b
mem_fun_ref_t< _Ret, _Tp > Class Template Reference

#include <_function_adaptors.h>

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

Public Member Functions

 mem_fun_ref_t (__fun_type __pf)
 
_Ret operator() (_Tp &__r) 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_ref_t< _Ret, _Tp >

Definition at line 519 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

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

Definition at line 520 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ mem_fun_ref_t()

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

Definition at line 522 of file _function_adaptors.h.

522: _M_f(__pf) {}

Member Function Documentation

◆ operator()()

template<class _Ret , class _Tp >
_Ret mem_fun_ref_t< _Ret, _Tp >::operator() ( _Tp &  __r) const
inline

Definition at line 523 of file _function_adaptors.h.

523{ return (__r.*_M_f)(); }

Member Data Documentation

◆ _M_f

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

Definition at line 525 of file _function_adaptors.h.

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


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