Scroll to navigation

std::mem_fun_t< _Ret, _Tp >(3cxx) std::mem_fun_t< _Ret, _Tp >(3cxx)

NAME

std::mem_fun_t< _Ret, _Tp > - One of the adaptors for member pointers.

SYNOPSIS

#include <functional>

Inherits std::unary_function< _Tp *, _Ret >.

Public Types


typedef _Tp * argument_type
argument_type is the type of the argument typedef _Ret result_type
result_type is the return 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 1232 of file functional.

Member Typedef Documentation

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

argument_type is the type of the argument

Definition at line 120 of file functional.

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

result_type is the return type

Definition at line 123 of file functional.

Constructor & Destructor Documentation

template<typename _Ret , typename _Tp > std::mem_fun_t< _Ret, _Tp >::mem_fun_t (_Ret(_Tp::*)() __pf) [inline], [explicit]

Definition at line 1236 of file functional.

Member Function Documentation

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

Definition at line 1240 of file functional.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Jan 8 2023 libstdc++