__GNU_PARALLEL::BINDER2ND(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so this is __gnu_para...::binder2nd(3) from the Library Functions Manual, and the actual star of the page is __gnu_parallel::binder2nd β€” literally similar to std::binder2nd, but you're giving the argument types explicitly. slay.

✨ SYNOPSIS ✨

Inherits unary_function< first_argument_type, result_type >.

πŸŽ€ Public Types πŸŽ€

  • typedef first_argument_type argument_type β€” yep, this is the argument_type typedef, bestie.
  • typedef result_type result_type β€” and here's the result_type typedef, cute.

πŸ¦‹ Public Member Functions πŸ¦‹

  • binder2nd (const _Operation &__x, const second_argument_type &__y) β€” the binder2nd member function, taking __x and __y exactly like this.
  • result_type operator() (first_argument_type &__x) β€” this operator() takes __x and returns result_type.
  • result_type operator() (const first_argument_type &__x) const β€” and this const operator() takes const first_argument_type &__x and returns result_type.

πŸ“ Protected Attributes πŸ“

  • _Operation op β€” protected attribute, no cap.
  • second_argument_type value β€” also protected, also iconic.

🌈 Detailed Description 🌈

the template situation is literally this:

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

Similar to std::binder2nd, but giving the argument types explicitly. πŸ’–

Definition at line 225 of file base.h.

🧚 Member Typedef Documentation 🧚

  • typedef first_argument_type std::unary_function< first_argument_type , result_type >::argument_type [inherited] β€” okay so this one is inherited, and argument_type is the type of the argument (no surprises here) πŸ’… Definition at line 102 of file stl_function.h.
  • typedef result_type std::unary_function< first_argument_type , result_type >::result_type [inherited] β€” this one is inherited too, and 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.


Signed, sealed, delivered: libstdc++ β€’ 21 Apr 2009 β€’ __gnu_para...::binder2nd(3) 🫢✨

πŸ“¦ where this page comes from