Difference between revisions of "cpp/header/compare"
From cppreference.com
m (- reason: miss constexpr & noexcept) |
m (+) |
||
Line 11: | Line 11: | ||
{{dsc inc | cpp/utility/compare/dsc weak_ordering}} | {{dsc inc | cpp/utility/compare/dsc weak_ordering}} | ||
{{dsc inc | cpp/utility/compare/dsc strong_ordering}} | {{dsc inc | cpp/utility/compare/dsc strong_ordering}} | ||
+ | {{dsc end}} | ||
+ | ===Functions=== | ||
+ | {{dsc begin}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc named_comparison_functions}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc common_comparison_category}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc strong_order}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc weak_order}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc partial_order}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc strong_equal}} | ||
+ | {{dsc inc | cpp/utility/compare/dsc weak_equal}} | ||
{{dsc end}} | {{dsc end}} |
Revision as of 20:58, 29 November 2017
This header is part of the general utility library.
Classes
(C++20) |
the result type of 3-way comparison that supports all 6 operators, is not substitutable, and allows incomparable values (class) |
(C++20) |
the result type of 3-way comparison that supports all 6 operators and is not substitutable (class) |
(C++20) |
the result type of 3-way comparison that supports all 6 operators and is substitutable (class) |
Functions
named comparison functions (function) | |
(C++20) |
the strongest comparison category to which all of the given types can be converted (class template) |
(C++20) |
performs 3-way comparison and produces a result of type std::strong_ordering (customization point object) |
(C++20) |
performs 3-way comparison and produces a result of type std::weak_ordering (customization point object) |
(C++20) |
performs 3-way comparison and produces a result of type std::partial_ordering (customization point object) |