The corresponding `std` types were removed before C++20 was finalized: https://wg21.link/P1959R0. They are unused. The language mechanisms and recommendations changed since they were originally proposed. In particular: * An explicitly defaulted `operator==` is defined in terms of memberwise `operator==` rather than sibling `operator<=>`. * An `operator!=` can be implicitly added to an overload set in terms of `operator==` rather than `operator<=>`. * A class which has equality but not ordering defined should provide `operator==` rather than `operator<=>`. PiperOrigin-RevId: 587834267 Change-Id: I2c2513c13f3485b9edc6a345dca4a577d8e65167
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| internal | Loading commit data... | |
| BUILD.bazel | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| any.h | Loading commit data... | |
| any_exception_safety_test.cc | Loading commit data... | |
| any_test.cc | Loading commit data... | |
| bad_any_cast.cc | Loading commit data... | |
| bad_any_cast.h | Loading commit data... | |
| bad_optional_access.cc | Loading commit data... | |
| bad_optional_access.h | Loading commit data... | |
| bad_variant_access.cc | Loading commit data... | |
| bad_variant_access.h | Loading commit data... | |
| compare.h | Loading commit data... | |
| compare_test.cc | Loading commit data... | |
| optional.h | Loading commit data... | |
| optional_exception_safety_test.cc | Loading commit data... | |
| optional_test.cc | Loading commit data... | |
| span.h | Loading commit data... | |
| span_test.cc | Loading commit data... | |
| variant.h | Loading commit data... | |
| variant_benchmark.cc | Loading commit data... | |
| variant_exception_safety_test.cc | Loading commit data... | |
| variant_test.cc | Loading commit data... |