STD::TYPE_ORDER(3cxx)

πŸ“¦ version 16.2.0, in ubuntu stonking

πŸ’– NAME πŸ’–

std::type_order< _Tp, _Up > β€” bestie, it's the Total ordering of types. No cap.


✨ SYNOPSIS ✨

#include <compare>

πŸŽ€ Public Types

  • using value_type

🫢 Public Member Functions

  • constexpr operator value_type () const noexcept
  • constexpr value_type operator() () const noexcept

🌸 Static Public Attributes

  • static constexpr strong_ordering value

πŸ‘‘ Detailed Description πŸ‘‘

okay so here's the whole vibe, literally an entire struct dedicated to comparing types:

template<typename _Tp, typename _Up>
    struct std::type_order< _Tp, _Up >"Total ordering of types.
not me copying that quote mark straight from the source, it's giving exactly as written πŸ™ˆ β€” anyway, it's the total ordering of types, periodt.

⭐ Since

C++26 β€” yeah she's new here and she's already iconic πŸ¦‹


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for libstdc++ from the source code. (not a single human hand-written sentence in sight, the robots ate πŸ’…)


and that's the whole page, bestie! libstdc++ std::type_order< _Tp, _Up >(3cxx) β€” mwah, take care of her, she's new πŸŒˆπŸ’–πŸŽ€

πŸ“¦ where this page comes from