ReactOS 0.4.15-dev-7961-gdcf9eb0
_function_base.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  unary_function< _Arg, _Result >
 
struct  binary_function< _Arg1, _Arg2, _Result >
 
struct  equal_to< _Tp >
 
struct  less< _Tp >
 
struct  plus< _Tp >
 
struct  minus< _Tp >
 
struct  multiplies< _Tp >
 
struct  _Select1st< _Pair >
 
struct  _Select2nd< _Pair >
 
struct  _Project1st< _Arg1, _Arg2 >
 
struct  _Project2nd< _Arg1, _Arg2 >
 
struct  _Identity< _Tp >
 
struct  _Constant_unary_fun< _Result, _Argument >
 
struct  _Constant_binary_fun< _Result, _Arg1, _Arg2 >
 

Macros

#define _STLP_SELECT1ST(__x, __y)   _STLP_PRIV _Select1st< __x >
 

Functions

template<class _Tp >
_STLP_MOVE_TO_PRIV_NAMESPACE less< _Tp > __less (_Tp *)
 
template<class _Tp >
equal_to< _Tp > __equal_to (_Tp *)
 
template<class _Tp >
_STLP_MOVE_TO_PRIV_NAMESPACE plus< _Tp > __plus (_Tp *)
 
template<class _Tp >
minus< _Tp > __minus (_Tp *)
 
template<class _Tp >
_Tp __identity_element (plus< _Tp >)
 
template<class _Tp >
_Tp __identity_element (multiplies< _Tp >)
 

Macro Definition Documentation

◆ _STLP_SELECT1ST

#define _STLP_SELECT1ST (   __x,
  __y 
)    _STLP_PRIV _Select1st< __x >

Definition at line 174 of file _function_base.h.

Function Documentation

◆ __equal_to()

template<class _Tp >
equal_to< _Tp > __equal_to ( _Tp *  )

Definition at line 109 of file _function_base.h.

109{ return equal_to<_Tp>(); }

Referenced by __find_first_of_aux2(), adjacent_find(), find_end(), and unique_copy().

◆ __identity_element() [1/2]

template<class _Tp >
_Tp __identity_element ( multiplies< _Tp >  )
inline

Definition at line 207 of file _function_base.h.

207{ return _Tp(1); }

◆ __identity_element() [2/2]

template<class _Tp >
_Tp __identity_element ( plus< _Tp >  )
inline

Definition at line 206 of file _function_base.h.

206{ return _Tp(0); }

Referenced by __power().

◆ __less()

◆ __minus()

template<class _Tp >
minus< _Tp > __minus ( _Tp *  )

Definition at line 129 of file _function_base.h.

129{ return minus<_Tp>(); }

Referenced by __money_do_put(), and adjacent_difference().

◆ __plus()

template<class _Tp >
_STLP_MOVE_TO_PRIV_NAMESPACE plus< _Tp > __plus ( _Tp *  )

Definition at line 126 of file _function_base.h.

126{ return plus<_Tp>(); }

Referenced by __money_do_put(), and partial_sum().