__GNU_CXX::SELECT2ND(3cxx)

🌸 NAME 🌸

okay so this is the page for __gnu_cxx::select2nd< _Pair >, living in the 3cxx manual. The entire NAME vibe is: An SGI extension . β€” yes bestie, that's the whole flex.


✨ SYNOPSIS ✨

#include <functional>

It inherits std::_Select2nd< _Pair >.

πŸŽ€ Public Types πŸŽ€

  • typedef _Pair argument_type β€” argument_type is the type of the argument. πŸ’–
  • typedef _Pair::second_type result_type β€” result_type is the return type. ✨

πŸ’… Public Member Functions πŸ’…

Two operator() overloads, both const, both iconic:

  • _Pair::second_type & operator() (_Pair &__x) const β€” the version that takes _Pair &__x and hands back _Pair::second_type &. 🫢
  • const _Pair::second_type & operator() (const _Pair &__x) const β€” the version that takes const _Pair &__x and hands back const _Pair::second_type &. πŸ‘‘

πŸ¦‹ Detailed Description πŸ¦‹

The template shape is exactly:

template<class _Pair>
    struct __gnu_cxx::select2nd< _Pair >

And the description text is literally An SGI extension . β€” yep, with that space before the period, and I am not editing the sacred text. πŸ’…


πŸ’– Member Typedef Documentation πŸ’–

Both of these are marked [inherited], and both come through std::unary_function< _Pair , _Pair::second_type >. First up:

typedef _Pair  std::unary_function< _Pair , _Pair::second_type
     >::argument_type [inherited]

argument_type is the type of the argument β€” that's the whole note. 🌸

Next one:

typedef _Pair::second_type  std::unary_function< _Pair , _Pair::second_type
     >::result_type [inherited]

result_type is the return type β€” simple, clean, slay. ✨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code.

So don't @ me, @ Doxygen. 😭


okay bye bestie β€” source/version situation is libstdc++, the footer string is exactly libstdc++__gnu_cxx::select2nd< _Pair >(3cxx), and there is no separate date hanging out on this footer, so I'm not inventing one. That's the whole receipt, periodt. πŸ’…βœ¨