__GNU_PARALLEL::__BINDER1ST(3cxx)

πŸ’… __gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType > β€” 3cxx manual page πŸ’…

πŸ’– NAME πŸ’–

__gnu_parallel::__binder1st< _Operation, _FirstArgumentType, _SecondArgumentType, _ResultType > β€” Similar to std::binder1st, but giving the argument types explicitly.


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so first things first, the include is literally:

#include <base.h>

and it Inherits std::unary_function< _SecondArgumentType, _ResultType >.

🌸 Public Types 🌸

the two public typedefs are giving type-info main character energy:

  • argument_type β€” typedef _SecondArgumentType argument_type; the page says: argument_type is the type of the argument.
  • result_type β€” typedef _ResultType result_type; the page says: result_type is the return type.

πŸŽ€ Public Member Functions πŸŽ€

here’s the whole member-function lineup, signatures copied exactly:

  • __binder1st (const _Operation &__x, const _FirstArgumentType &__y) β€” the constructor, listed exactly like that.
  • _ResultType operator() (_SecondArgumentType &__x) const β€” the const call operator.
  • _ResultType operator() (const _SecondArgumentType &__x) β€” the other call-operator overload, with a const _SecondArgumentType &__x.

πŸ’… Protected Attributes πŸ’…

protected attributes, aka the internals the page is willing to show:

  • _Operation _M_op β€” protected attribute.
  • _FirstArgumentType _M_value β€” protected attribute.

🌈 Detailed Description 🌈

the class template is this, exactly:

template<typename _Operation, typename _FirstArgumentType, typename
    _SecondArgumentType, typename _ResultType>
    class __gnu_parallel::__binder1st< _Operation, _FirstArgumentType,
    _SecondArgumentType, _ResultType >

then the page says this β€” and yes, the opening quote mark is literally there on the page, no closing quote, I’m not fixing it:

"Similar to std::binder1st, but giving the argument types explicitly.

⭐ Member Typedef Documentation ⭐

both are marked [inherited], and here’s the exact typedef text:

typedef _SecondArgumentType  std::unary_function< _SecondArgumentType , _ResultType  >::argument_type [inherited]

argument_type is the type of the argument.

typedef _ResultType  std::unary_function< _SecondArgumentType , _ResultType  >::result_type [inherited]

result_type is the return type.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.

periodt. ✨


mwah πŸ’‹ β€” source/version vibe: libstdc++; footer/manual-page string: libstd__gnu_parallel..., _ResultType >(3cxx); date: not shown on this page, bestie. Doxygen-generated, no cap. πŸ«ΆπŸŽ€