ReactOS 0.4.15-dev-7918-g2a2556c
const_mem_fun_ref_t< _Ret, _Tp > Class Template Reference

#include <_function_adaptors.h>

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

Public Member Functions

 const_mem_fun_ref_t (__fun_type __pf)
 
_Ret operator() (const _Tp &__r) const
 

Private Types

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

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 const_mem_fun_ref_t< _Ret, _Tp >

Definition at line 529 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

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

Definition at line 530 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ const_mem_fun_ref_t()

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

Definition at line 532 of file _function_adaptors.h.

532: _M_f(__pf) {}

Member Function Documentation

◆ operator()()

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

Definition at line 533 of file _function_adaptors.h.

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

Member Data Documentation

◆ _M_f

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

Definition at line 535 of file _function_adaptors.h.

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


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