libstdc++
std::plus< _Tp > Struct Template Reference

Inherited by __gnu_parallel::_Plus< _Tp, _Tp, _Tp >.

Public Member Functions

constexpr _Tp operator() (const _Tp &__x, const _Tp &__y) const
 

Detailed Description

template<typename _Tp>
struct std::plus< _Tp >

One of the math functors.

Definition at line 160 of file stl_function.h.

Member Function Documentation

◆ operator()()

template<typename _Tp >
constexpr _Tp std::plus< _Tp >::operator() ( const _Tp &  __x,
const _Tp &  __y 
) const
inlineconstexpr

Returns the sum.

Definition at line 185 of file stl_function.h.


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