__GNU_PARALLEL::_LEXICOGRAPHICREVERSE(3cxx)

πŸ’… NAME πŸ’…

__gnu_parallel::_LexicographicReverse< _T1, _T2, _Compare > β€” okay so bestie, this little icon literally compares a pair of types lexicographically, but descending, and honestly? It ate. πŸ“

(real talk, this page lives in the 3cxx manual, lowercase c, no cap, and yes the whole title is that long, she's a main character, we don't question it πŸ’–)


✨ SYNOPSIS ✨

#include <multiseq_selection.h>

Inherits std::binary_function< _T1, _T2, bool >. Yup, she's got lineage. πŸ‘‘

πŸŽ€ Public Types πŸŽ€

  • typedef _T1 first_argument_type β€” not to be dramatic but first_argument_type is the type of the first argument πŸ’…
  • typedef bool result_type β€” result_type is the return type, aka she gives you a bool, periodt
  • typedef _T2 second_argument_type β€” and second_argument_type is the type of the second argument, slay 🌸

πŸ¦‹ Public Member Functions πŸ¦‹

  • _LexicographicReverse (_Compare &__comp) β€” the constructor, takes a _Compare by reference, iconic behaviour only
  • bool operator() (const std::pair< _T1, _T2 > &__p1, const std::pair< _T1, _T2 > &__p2) const β€” the actual call operator, takes two std::pairs (__p1 and __p2) and hands you back a bool, no cap πŸ”₯

🌈 Detailed Description 🌈

template<typename _T1, typename _T2, typename _Compare>
    class __gnu_parallel::_LexicographicReverse< _T1, _T2, _Compare >

So the whole vibe is: Compare __a pair of types lexicographically, descending. That's it, that's the girl. She takes a pair, compares it lexicographically, and then does it backwards β€” descending, iykyk. Not me being obsessed with a comparator πŸ’€βœ¨


πŸ’œ Member Typedef Documentation πŸ’œ

  • typedef _T1 std::binary_function< _T1 , _T2 , bool >::first_argument_type [inherited] β€” first_argument_type is the type of the first argument 🫢
  • typedef bool std::binary_function< _T1 , _T2 , bool >::result_type [inherited] β€” result_type is the return type, and yes it's bool bestie ⭐
  • typedef _T2 std::binary_function< _T1 , _T2 , bool >::second_argument_type [inherited] β€” second_argument_type is the type of the second argument πŸŽ€

All three are marked [inherited], so she got them from std::binary_function< _T1 , _T2 , bool > β€” family traits, lowkey blessed πŸ™ˆ


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. Like, the machines did this one, not me 😭


okay that's the whole page bestie, ily, go compare some pairs in reverse πŸ’– β€” this cutie pie was brought to you by libstdc++ (the 3cxx manual, mwah πŸ’‹), and the footer said libstd with that same long long title, so yeah, that's the vibe πŸŒŸπŸ’…πŸŽ€