std::plus< _Tp > - One of the math functors.
Contents
Detailed Description
template<typename_Tp>
struct std::plus< _Tp >"One of the mathfunctors.
Member Function Documentation
template<typename_Tp>constexpr_Tpstd::plus<_Tp>::operator()(const_Tp&__x,const_Tp&__y)const[inline],[constexpr]
Returns the sum.
Member Typedef Documentation
typedef_Tpstd::binary_function<_Tp,_Tp,_Tp>::first_argument_type[inherited]
first_argument_type is the type of the first argument
typedef_Tpstd::binary_function<_Tp,_Tp,_Tp>::result_type[inherited]
result_type is the return type
typedef_Tpstd::binary_function<_Tp,_Tp,_Tp>::second_argument_type[inherited]
second_argument_type is the type of the second argument
Name
std::plus< _Tp > - One of the mathfunctors.
Synopsis
#include <functional>
Inherits std::binary_function<_Tp,_Tp,_Tp>.
Inherited by __gnu_parallel::_Plus< _Tp, _Tp, _Tp >.
PublicTypestypedef _Tp first_argument_type
first_argument_type is the type of the first argument
typedef _Tp result_type
result_type is the return type
typedef _Tp second_argument_type
second_argument_type is the type of the second argument
PublicMemberFunctions
constexpr _Tp operator() (const _Tp &__x, const _Tp &__y) const
Returns the sum.
