__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_type is the type of the first argument πŸ’–
  • typedef _Result result_type β€” result_type is the return type ✨
  • typedef _Arg2 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 β€” 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 ✨