table of contents
__gnu_parallel::_Plus< _Tp1, _Tp2, _Result >(3) | Library Functions Manual | __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >(3) |
NAME¶
__gnu_parallel::_Plus< _Tp1, _Tp2, _Result > - Similar to std::plus, but allows two different types.
SYNOPSIS¶
Inherits std::binary_function< _Tp1, _Tp2, __typeof__(*static_cast< _Tp1 * >(0)+*static_cast< _Tp2 * >(0)) >.
Public Types¶
typedef _Tp1 first_argument_type
first_argument_type is the type of the first argument typedef
__typeof__(*< * >0_Tp1+*static_cast< _Tp2 * >(0)
result_type
result_type is the return type typedef _Tp2
second_argument_type
second_argument_type is the type of the second argument
Public Member Functions¶
_Result operator() (const _Tp1 &__x, const _Tp2
&__y) const
Detailed Description¶
template<typename _Tp1, typename _Tp2, typename _Result = __typeof__(*static_cast<_Tp1*>(0) + *static_cast<_Tp2*>(0))>¶
struct __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >" Similar to std::plus, but allows two different types.
Member Typedef Documentation¶
typedef _Tp1 std::binary_function< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) >::first_argument_type [inherited]¶
first_argument_type is the type of the first argument
typedef __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) std::binary_function< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) >::result_type [inherited]¶
result_type is the return type
typedef _Tp2 std::binary_function< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) >::second_argument_type [inherited]¶
second_argument_type is the type of the second argument
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Mon Dec 18 2023 | libstdc++ |