.TH "__gnu_parallel::_Plus< _Tp1, _Tp2, _Result >" 3cxx "Thu Feb 16 2023" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_parallel::_Plus< _Tp1, _Tp2, _Result > \- Similar to std::plus, but allows two different types\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::binary_function< _Tp1, _Tp2, __typeof__(*static_cast< _Tp1 * >(0)+*static_cast< _Tp2 * >(0)) >\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "typedef _Tp1 \fBfirst_argument_type\fP" .br .RI "\fCfirst_argument_type\fP is the type of the first argument " .ti -1c .RI "typedef __typeof__(*< * >0_Tp1+*static_cast< _Tp2 * >(0) \fBresult_type\fP" .br .RI "\fCresult_type\fP is the return type " .ti -1c .RI "typedef _Tp2 \fBsecond_argument_type\fP" .br .RI "\fCsecond_argument_type\fP is the type of the second argument " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "_Result \fBoperator()\fP (const _Tp1 &__x, const _Tp2 &__y) const" .br .in -1c .SH "Detailed Description" .PP .SS "template(0) + *static_cast<_Tp2*>(0))> .br struct __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >"Similar to std::plus, but allows two different types\&. .PP Definition at line \fB272\fP of file \fBbase\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "typedef _Tp1 \fBstd::binary_function\fP< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) >::first_argument_type\fC [inherited]\fP" .PP \fCfirst_argument_type\fP is the type of the first argument .PP Definition at line \fB134\fP of file \fBstl_function\&.h\fP\&. .SS "typedef __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) \fBstd::binary_function\fP< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) >::result_type\fC [inherited]\fP" .PP \fCresult_type\fP is the return type .PP Definition at line \fB140\fP of file \fBstl_function\&.h\fP\&. .SS "typedef _Tp2 \fBstd::binary_function\fP< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1+ *static_cast< _Tp2 * >(0) >::second_argument_type\fC [inherited]\fP" .PP \fCsecond_argument_type\fP is the type of the second argument .PP Definition at line \fB137\fP of file \fBstl_function\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "template(0) + *static_cast<_Tp2*>(0))> _Result \fB__gnu_parallel::_Plus\fP< _Tp1, _Tp2, _Result >::operator() (const _Tp1 & __x, const _Tp2 & __y) const\fC [inline]\fP" .PP Definition at line \fB275\fP of file \fBbase\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.