libstdc++
std::mem_fun_t< _Ret, _Tp > Class Template Reference

#include <stl_function.h>

Inheritance diagram for std::mem_fun_t< _Ret, _Tp >:
[legend]

Public Types

typedef _Tp * argument_type
 
typedef _Ret result_type
 

Public Member Functions

 mem_fun_t (_Ret(_Tp::*__pf)())
 
_Ret operator() (_Tp *__p) const
 

Detailed Description

template<typename _Ret, typename _Tp>
class std::mem_fun_t< _Ret, _Tp >

One of the adaptors for member pointers.

Definition at line 1224 of file stl_function.h.

Member Typedef Documentation

◆ argument_type

typedef _Tp * std::unary_function< _Tp * , _Ret >::argument_type
inherited

argument_type is the type of the argument

Definition at line 120 of file stl_function.h.

◆ result_type

typedef _Ret std::unary_function< _Tp * , _Ret >::result_type
inherited

result_type is the return type

Definition at line 123 of file stl_function.h.

Constructor & Destructor Documentation

◆ mem_fun_t()

template<typename _Ret , typename _Tp >
std::mem_fun_t< _Ret, _Tp >::mem_fun_t ( _Ret(_Tp::*)()  __pf)
inlineexplicit

Definition at line 1228 of file stl_function.h.

Member Function Documentation

◆ operator()()

template<typename _Ret , typename _Tp >
_Ret std::mem_fun_t< _Ret, _Tp >::operator() ( _Tp *  __p) const
inline

Definition at line 1232 of file stl_function.h.


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