ReactOS 0.4.16-dev-205-g7b2bb7e
const_mem_fun1_ref_t< _Ret, _Tp, _Arg > Class Template Reference

#include <_function_adaptors.h>

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

Public Member Functions

 const_mem_fun1_ref_t (__fun_type __pf)
 
_Ret operator() (const _Tp &__r, _Arg __x) const
 

Private Types

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

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 const_mem_fun1_ref_t< _Ret, _Tp, _Arg >

Definition at line 570 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

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

Definition at line 571 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ const_mem_fun1_ref_t()

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

Definition at line 573 of file _function_adaptors.h.

573: _M_f(__pf) {}

Member Function Documentation

◆ operator()()

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

Definition at line 574 of file _function_adaptors.h.

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

Member Data Documentation

◆ _M_f

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

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