__GNU_PARALLEL::LEXICOGRAPHIC_REVERSE(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

πŸ’… NAME

__gnu_parallel::lexicographic_reverse β€” ok so bestie, this one compares a pair of types lexicographically, but like… descending. Downward. Backwards-energy. That's the whole gig πŸ’–


✨ SYNOPSIS

Inherits binary_function< T1, T2, bool >. Yes she's a nepo baby, she inherits everything πŸŽ€

Public Types

  • typedef T1 first_argument_type β€” the type of argument numero uno
  • typedef bool result_type β€” what she gives back (it's a bool, queen of yes/no)
  • typedef T2 second_argument_type β€” the type of argument numero dos

Public Member Functions

  • lexicographic_reverse (Comparator &_comp) β€” the constructor, she takes a Comparator reference named _comp
  • bool operator() (const std::pair< T1, T2 > &p1, const std::pair< T1, T2 > &p2) const β€” the call operator, compares two std::pair< T1, T2 > const refs and hands you back a bool

🌸 DETAILED DESCRIPTION

template<typename T1, typename T2, typename Comparator> class
    __gnu_parallel::lexicographic_reverse< T1, T2, Comparator >

Literally what it says on the tin: compare a pair of types lexicographically, descending. So like a normal lexicographic compare but she ate and flipped the order πŸ”₯

Definition at line 81 of file multiseq_selection.h. Writing that down bestie, it'll be on the test πŸ“

πŸŽ€ MEMBER TYPEDEF DOCUMENTATION

typedef T1 std::binary_function< T1 , T2 , bool >::first_argument_type [inherited]

the type of the first argument (no surprises here) β€” the docs literally said that, I'm not making it up 😭

Definition at line 114 of file stl_function.h.

typedef bool std::binary_function< T1 , T2 , bool >::result_type [inherited]

type of the return type πŸ‘‘

Definition at line 118 of file stl_function.h.

typedef T2 std::binary_function< T1 , T2 , bool >::second_argument_type [inherited]

the type of the second argument πŸ¦‹

Definition at line 117 of file stl_function.h.

πŸ‘‘ AUTHOR

Generated automatically by Doxygen for libstdc++ from the source code. No human wrote this, a robot did, and honestly? she slayed πŸ€–βœ¨


okay that's the whole page, ily, go read multiseq_selection.h 🫢

this was libstdc++, dated 21 Apr 2009, and the page goes by __gnu_para...hic_reverse(3) β€” yeah the name got truncated mid-sentence, the vibes are immaculate, periodt πŸ’œ

πŸ“¦ where this page comes from