__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 butfirst_argument_typeis the type of the first argument πtypedef bool result_typeβresult_typeis the return type, aka she gives you abool, periodttypedef _T2 second_argument_typeβ andsecond_argument_typeis the type of the second argument, slay πΈ
π¦ Public Member Functions π¦
_LexicographicReverse (_Compare &__comp)β the constructor, takes a_Compareby reference, iconic behaviour onlybool operator() (const std::pair< _T1, _T2 > &__p1, const std::pair< _T1, _T2 > &__p2) constβ the actual call operator, takes twostd::pairs (__p1and__p2) and hands you back abool, 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'sboolbestie β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 ππ
π
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms