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_type is the type of the argument. iykyk ✨
  • typedef _Operation::result_type result_type β€” result_type is 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