__GNU_PARALLEL::_PLUS(3cxx)
bestie, welcome to the 3cxx manual page for __gnu_parallel::_Plus< _Tp1, _Tp2, _Result > β¨ this one is lowkey a whole template mood π
π NAME π
__gnu_parallel::_Plus< _Tp1, _Tp2, _Result > β Similar to std::plus, but allows two different types. fr fr π«Ά
β¨ SYNOPSIS β¨
#include <base.h>
Inherits std::binary_function< _Arg1, _Arg2, _Result >. π
πΈ Public Types πΈ
typedef _Arg1 first_argument_typeβfirst_argument_typeis the type of the first argument πtypedef _Result result_typeβresult_typeis the return type β¨typedef _Arg2 second_argument_typeβsecond_argument_typeis the type of the second argument π¦
π Public Member Functions π
_Result operator() (const _Tp1 &__x, const _Tp2 &__y) constβ the call operator, exactly as written, no cap π
π« Detailed Description π«
okay so this is the template struct vibe, and here is the signature/description block verbatim:
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.
itβs giving βSimilar to std::plus, but allows two different types.β and that is the whole iconic point π
π§ Member Typedef Documentation π§
π first_argument_type π
template<typename _Arg1 , typename _Arg2 , typename _Result > typedef _Arg1
std::binary_function< _Arg1, _Arg2, _Result >::first_argument_type
[inherited]
first_argument_type is the type of the first argument π
β result_type β
template<typename _Arg1 , typename _Arg2 , typename _Result > typedef _Result
std::binary_function< _Arg1, _Arg2, _Result >::result_type
[inherited]
result_type is the return type π«
π¦ second_argument_type π¦
template<typename _Arg1 , typename _Arg2 , typename _Result > typedef _Arg2
std::binary_function< _Arg1, _Arg2, _Result >::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. periodt π
okay bye bestie π«Ά source/version: libstdc++, generated automatically by Doxygen from the source code; the footer didnβt give a date, so Iβm not inventing one π 3cxx out β¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms