ReactOS 0.4.16-dev-88-ga65b6ae
const_mem_fun1_t< _Ret, _Tp, _Arg > Class Template Reference

#include <_function_adaptors.h>

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

Public Member Functions

 const_mem_fun1_t (__fun_type __pf)
 
_Ret operator() (const _Tp *__p, _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< const _Tp *, _Arg, _Ret >
typedef const _Tp * first_argument_type
 
typedef _Arg second_argument_type
 
typedef _Ret result_type
 
- Protected Member Functions inherited from binary_function< const _Tp *, _Arg, _Ret >
 ~binary_function ()
 

Detailed Description

template<class _Ret, class _Tp, class _Arg>
class const_mem_fun1_t< _Ret, _Tp, _Arg >

Definition at line 549 of file _function_adaptors.h.

Member Typedef Documentation

◆ __fun_type

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

Definition at line 550 of file _function_adaptors.h.

Constructor & Destructor Documentation

◆ const_mem_fun1_t()

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

Definition at line 552 of file _function_adaptors.h.

552: _M_f(__pf) {}

Member Function Documentation

◆ operator()()

template<class _Ret , class _Tp , class _Arg >
_Ret const_mem_fun1_t< _Ret, _Tp, _Arg >::operator() ( const _Tp *  __p,
_Arg  __x 
) const
inline

Definition at line 553 of file _function_adaptors.h.

554 { return (__p->*_M_f)(__x); }

Member Data Documentation

◆ _M_f

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

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