Difference between revisions of "cpp/header/compare"
From cppreference.com
m (+) |
m (correct) |
||
Line 15: | Line 15: | ||
===Synopsis=== | ===Synopsis=== | ||
{{source|1= | {{source|1= | ||
− | |||
namespace std { | namespace std { | ||
enum class eq { equal = 0, equivalent = 0, nonequal = 1, nonequivalent = 1 }; | enum class eq { equal = 0, equivalent = 0, nonequal = 1, nonequivalent = 1 }; |
Revision as of 03:51, 25 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) |