STD::LESS_EQUAL(3cxx)
π
std::less_equal< _Tp > β like, the comparison functor page (from the 3cxx manual, bestie)
okay so picture this: you're deep in <functional> land and you need one of the comparison functors β that's literally the NAME of this whole vibe. It's std::less_equal< _Tp >, it lives in the 3cxx manual section, and yes it's a template. Buckle up π
β¨ SYNOPSIS β¨
#include <functional>
Inherits std::binary_function< _Tp, _Tp, bool >. That's the family tree, okay, it's giving legacy-but-iconic π
π«Ά Public Types
typedef _Tp first_argument_typeβfirst_argument_typeis the type of the first argument. literally what it says π¦typedef bool result_typeβresult_typeis the return type. it'sbool, as expected, no surprises, we love a predictable queen πtypedef _Tp second_argument_typeβsecond_argument_typeis the type of the second argument πΈ
π Public Member Functions
constexpr bool operator() (const _Tp &__x, const _Tp &__y) constβ the actual main character energy of this whole struct, this is the call operator and it'sconstexpr, ngl that's kinda slay β¨
π DETAILED DESCRIPTION π
template<typename _Tp>
struct std::less_equal< _Tp >
so the description is just, and I quote: "One of the comparison functors." That's it. That's the whole description. short and iconic, periodt π
π§ MEMBER TYPEDEF DOCUMENTATION π§
these are the inherited ones, bestie, so they come from std::binary_function< _Tp , _Tp , bool > β note the [inherited] tag on every single one π
typedef _Tp std::binary_function< _Tp , _Tp , bool >::first_argument_typeβ[inherited], and it's the type of the first argument πtypedef bool std::binary_function< _Tp , _Tp , bool >::result_typeβ[inherited], and it's the return type βtypedef _Tp std::binary_function< _Tp , _Tp , bool >::second_argument_typeβ[inherited], and it's the type of the second argument π¦
π AUTHOR π
"Generated automatically by Doxygen for libstdc++ from the source code." so it wrote itself, lowkey icon behaviour, no cap π
fr fr that's the whole page β every type, every inherited typedef, the constexpr operator, the inherits line, the include β nothing skipped, we keep the facts and keep the vibe π«Ά
kisses, this page was brought to you by libstdc++, from the std::less_equal< _Tp >(3cxx) manual, mwah πππ·
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms