__GNU_PARALLEL::BINDER1ST(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

✨ NAME ✨

Okay so bestie, this is the Library Functions Manual page for __gnu_para...::binder1st(3) β€” aka the class __gnu_parallel::binder1st β€” and it's giving β€œsimilar to std::binder1st, but giving the argument types explicitly.” πŸ’… No cap, that's the whole vibe.


πŸ¦‹ SYNOPSIS πŸ¦‹

Inherits unary_function< second_argument_type, result_type >.

🌈 Public Types 🌈

  • typedef second_argument_type argument_type β€” public type slay.
  • typedef result_type result_type β€” another public type, iconic.

πŸŽ€ Public Member Functions πŸŽ€

  • binder1st (const _Operation &__x, const first_argument_type &__y) β€” constructor behavior, literally.
  • result_type operator() (second_argument_type &__x) const β€” const call operator, periodt.
  • result_type operator() (const second_argument_type &__x) β€” the overload with const second_argument_type &__x.

🫢 Protected Attributes 🫢

  • _Operation op β€” protected attribute, iykyk.
  • first_argument_type value β€” also protected, fr fr.

πŸ’– Detailed Description πŸ’–

Template time, bestie:

template<typename _Operation, typename first_argument_type, typename
    second_argument_type, typename result_type> class
    __gnu_parallel::binder1st< _Operation, first_argument_type,
    second_argument_type, result_type >

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

Definition at line 196 of file base.h. Yes, literally line 196, bestie. πŸ¦‹


🌸 Member Typedef Documentation 🌸

argument_type β€” inherited πŸ’œ

typedef second_argument_type  std::unary_function< second_argument_type ,
       result_type  >::argument_type [inherited]

argument_type is the type of the argument (no surprises here)

Definition at line 102 of file stl_function.h.


result_type β€” inherited πŸ’œ

typedef result_type  std::unary_function< second_argument_type , result_type
       >::result_type [inherited]

result_type is the return type

Definition at line 105 of file stl_function.h.


πŸ‘‘ Author πŸ‘‘

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


That's the whole page, bestie β€” source/version libstdc++, date 21 Apr 2009, and the manual tag __gnu_para...::binder1st(3). Slay. πŸ’…βœ¨

πŸ“¦ where this page comes from