__GNU_PARALLEL::_MULTIPLIES(3cxx)

🌈 NAME 🌈

Bestie, this is the 3cxx manual page for __gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result > β€” and it's literally similar to std::multiplies, except it allows two different types. That's the whole vibe ✨.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <base.h>

It inherits std::binary_function< _Arg1, _Arg2, _Result >. Iconic inheritance behavior, no cap πŸ’….

πŸ’– 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 one and only public member function listed here. Main character energy, honestly πŸ˜ŒπŸ‘‘

✨ Detailed Description ✨

Here's the template setup, copied exactly β€” yes, including the stray quote situation, don't come for me, I'm just the messenger πŸ’€:

   template<typename _Tp1, typename _Tp2, typename _Result =
       __typeof__(*static_cast<_Tp1*>(0)              *
       *static_cast<_Tp2*>(0))>
       struct __gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result >"Similar to
       std::multiplies, but allows two different types.

So: it's similar to std::multiplies, but allows two different types. Periodt πŸ’œ.

That stray " is in the original, bestie. I'm not fixing it β€” I'm preserving the lore πŸ˜­πŸ’…

πŸŽ€ Member Typedef Documentation πŸŽ€

These are inherited from std::binary_function< _Arg1, _Arg2, _Result >, and here's the exact documentation energy:

πŸ“ 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.


Okay bye bestie 🫢 This page is from libstdc++, manual tag 3cxx, generated automatically by Doxygen from the source code. Date? Not shown on this page, so I'm not inventing one β€” no fake date energy here πŸ’…βœ¨