STD::TYPE_ORDER(3)
β¨ std::type_order< _Tp, _Up > β¨
okay bestie, we're in the Library Functions Manual today and this one is so cute β it's giving "let me rank types for you" energy π
πΈ NAME πΈ
std::type_order< _Tp, _Up > β total ordering of types. yes queen, we are putting types in order, no cap π
π¦ SYNOPSIS π¦
#include <compare>
π Public Types
using value_typeβ the type alias, the moment, the it-girl π«Ά
π Public Member Functions
constexpr operator value_type () const noexceptβ converts itself into avalue_type, and it'sconstexprandnoexcept, because it said "I don't do runtime errors" πconstexpr value_type operator() () const noexceptβ call it like a function, get avalue_typeback. alsoconstexpr, alsonoexcept. iconic behavior fr fr β¨
π Static Public Attributes
static constexpr strong_ordering valueβ the staticconstexprstrong_orderingitself, the main character of the whole struct π
π Detailed Description π
template<typename _Tp, typename _Up>
struct std::type_order< _Tp, _Up >
"Total ordering of types. π
Since β C++26. not me being a brand new baby standard feature, lowkey obsessed with being so fresh π
π§ Author π§
Generated automatically by Doxygen for libstdc++ from the source code. so like, nobody wrote this by hand, it just appeared, slay πβ¨
π and that's the whole vibe check, bestie β this page came to you from libstdc++, std::type_... _Tp, _Up >(3), and yes the version is just "libstdc++" because Doxygen said so. mwah, periodt ππ
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- centos-stream 10: gcc-toolset-16-libstdc++-docs 16.2.1-1.3.el10 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms