17 template <
typename _T>
23 template <
typename _T>
29 template <
typename _Result,
typename _Class,
typename _Argument>
31 typename remove_cref<_Argument>::type,
35 explicit mem_fun1_t(_Result (_Class::*member)(_Argument))
40 _Result
operator()(_Class*
object, _Argument argument)
const 42 return (object->*member_)(argument);
46 _Result (_Class::*member_)(_Argument);
54 template <
typename _Result,
typename _Class,
typename _Argument>
64 template <
class _Pair>
65 struct select1st :
public std::unary_function<_Pair, typename _Pair::first_type>
71 const typename _Pair::first_type&
operator()(
const _Pair& __x)
const 81 template <
class _Pair>
82 struct select2nd :
public std::unary_function<_Pair, typename _Pair::second_type>
84 typename _Pair::second_type&
operator()(_Pair& __x)
const 88 const typename _Pair::second_type&
operator()(
const _Pair& __x)
const _Pair::second_type & operator()(_Pair &__x) const
Definition: stlx.h:84
const _Pair::second_type & operator()(const _Pair &__x) const
Definition: stlx.h:88
_T type
Definition: stlx.h:26
const _Pair::first_type & operator()(const _Pair &__x) const
Definition: stlx.h:71
#define _T(s)
Use TCHAR instead of char or wchar_t. It will be appropriately translated.
Definition: def.h:82
_T type
Definition: stlx.h:20
mem_fun1_t(_Result(_Class::*member)(_Argument))
Definition: stlx.h:35
_Pair::first_type & operator()(_Pair &__x) const
Definition: stlx.h:67
mem_fun1_t< _Result, _Class, _Argument > mem_fun(_Result(_Class::*member)(_Argument))
The mem_fun() template is a custom mem_fun adapter, which extends std::mem_fun.
Definition: stlx.h:55
_Result operator()(_Class *object, _Argument argument) const
Definition: stlx.h:40
The select2nd function object takes a single argument, a pair, and returns the pair's second element.
Definition: stlx.h:82
Definition: BoostHelper.h:14