STD::BINDER1ST(3cxx)
πΈ std::binder1st< _Operation > πΈ
okay so bestie, you opened the 3cxx manual page for std::binder1st< _Operation >, and we are gonna get into it. No cap, this one is kinda short but every little typedef matters. π
π NAME π
std::binder1st< _Operation > β one of the binder functors. That's the whole name, and honestly? It ate. β¨
β¨ SYNOPSIS β¨
#include <functional>
and it inherits this exact thing, bestie:
Inherits std::unary_function< _Operation::second_argument_type,
_Operation::result_type >.
π Public Types π
typedef _Operation::second_argument_type argument_typeβargument_typeis the type of the argument. slay, that's literally the argument's type. πtypedef _Operation::result_type result_typeβresult_typeis the return type. yup, that's what comes back out. π
π§ Public Member Functions π§
binder1st (const _Operation &__x, const typename _Operation::first_argument_type &__y)β thebinder1stmember function, taking those exact parameters. π«Ά_Operation::result_type operator() (const typename _Operation::second_argument_type &__x) constβ theconstcall operator overload, returning_Operation::result_type. β_Operation::result_type operator() (typename _Operation::second_argument_type &__x) constβ the other call operator overload, withtypename _Operation::second_argument_type &__x, and it also returns_Operation::result_type. π₯
π Protected Attributes π
_Operation op_Operation::first_argument_type value
π Detailed Description π
this is the exact template/class line, bestie:
template<typename _Operation>
class std::binder1st< _Operation >"One of the binder functors.
π¦ Member Typedef Documentation π¦
typedef _Operation::second_argument_type std::unary_function< _Operation::second_argument_type , _Operation::result_type >::argument_type [inherited]βargument_typeis the type of the argument. inherited from thatstd::unary_functionsituation, periodt. πtypedef _Operation::result_type std::unary_function< _Operation::second_argument_type , _Operation::result_type >::result_type [inherited]βresult_typeis the return type. also inherited, and also iconic. πΈ
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. so no human author to @ here β Doxygen did that, fr fr. π
mwah π this page is from libstdc++, and the manual page is std::binder1st< _Operation >(3cxx). the footer does not give me a date, so i am not gonna invent one β no cap. π«Ά
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms