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_type is the type of the first argument. literally what it says πŸ¦‹
  • typedef bool result_type β€” result_type is the return type. it's bool, as expected, no surprises, we love a predictable queen πŸ‘‘
  • typedef _Tp second_argument_type β€” second_argument_type is 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's constexpr, 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