STD::BINDER2ND(3cxx)
πΈ NAME πΈ
okay so bestie, this is the page for std::binder2nd< _Operation >(3cxx), and it is literally One of the binder functors. No cap. π
β¨ SYNOPSIS β¨
Start here, bestie:
#include <functional>
And it inherits from:
std::unary_function< _Operation::first_argument_type, _Operation::result_type >
π Public Types π
typedef _Operation::first_argument_type argument_typeβargument_typeis the type of the argument. iykyk β¨typedef _Operation::result_type result_typeβresult_typeis the return type. π«Ά
π Public Member Functions π
binder2nd (const _Operation &__x, const typename _Operation::second_argument_type &__y)_Operation::result_type operator() (const typename _Operation::first_argument_type &__x) const_Operation::result_type operator() (typename _Operation::first_argument_type &__x) const
both overloads are here, and they are iconic for it π
π‘οΈ Protected Attributes π‘οΈ
_Operation op_Operation::second_argument_type value
π₯ Detailed Description π₯
The docs literally hand you this template situation:
template<typename _Operation>
class std::binder2nd< _Operation >"One of the binder functors.
yes, that quote mark is really in there β we do not fix the source material, we respect the source material π
π Member Typedef Documentation π
- First inherited typedef, no cap:
typedef _Operation::first_argument_type std::unary_function< _Operation::first_argument_type , _Operation::result_type >::argument_type [inherited]
And the note says: argument_type is the type of the argument. πΈ
- Second inherited typedef, slay:
typedef _Operation::result_type std::unary_function< _Operation::first_argument_type , _Operation::result_type >::result_type [inherited]
And the note says: result_type is the return type. π¦
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
kisses and compiler blessings, bestie π«Ά this was libstdc++βs std::binder2nd< _Operation >(3cxx) page, generated automatically by Doxygen for libstdc++ from the source code. Footer date? not listed on this cutie β thatβs all the meta weβve got. π
π¦ 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