ReactOS  0.4.14-dev-49-gfb4591c
mem_fun1_ref_t< _Ret, _Tp, _Arg > Class Template Reference

#include <_function_adaptors.h>

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

Public Member Functions

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

Definition at line 560 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

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

Definition at line 561 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ mem_fun1_ref_t()

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

Definition at line 563 of file _function_adaptors.h.

563 : _M_f(__pf) {}

Member Function Documentation

◆ operator()()

template<class _Ret , class _Tp , class _Arg >
_Ret mem_fun1_ref_t< _Ret, _Tp, _Arg >::operator() ( _Tp &  __r,
_Arg  __x 
) const
inline

Definition at line 564 of file _function_adaptors.h.

564 { return (__r.*_M_f)(__x); }

Member Data Documentation

◆ _M_f

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

Definition at line 566 of file _function_adaptors.h.

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


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