__GNU_PARALLEL::BINDER2ND(3)
π 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 theargument_typetypedef, bestie.typedef result_type result_typeβ and here's theresult_typetypedef, cute.
π¦ Public Member Functions π¦
binder2nd (const _Operation &__x, const second_argument_type &__y)β thebinder2ndmember function, taking__xand__yexactly like this.result_type operator() (first_argument_type &__x)β thisoperator()takes__xand returnsresult_type.result_type operator() (const first_argument_type &__x) constβ and this constoperator()takesconst first_argument_type &__xand returnsresult_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, andargument_typeis the type of the argument (no surprises here) π Definition at line102of filestl_function.h.typedef result_type std::unary_function< first_argument_type , result_type >::result_type [inherited]β this one is inherited too, andresult_typeis the return type. Definition at line105of filestl_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
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms