- Removes operator!= and inequality operators for basic_string (in C++20 mode).
- Adds operator<=> for basic_string (in C++20 mode).
Implements parts of P1614 'The Mothership Has Landed'.
Depends on D80891.
Differential D80895
[libcxx] adds consistent comparison for `basic_string` cjdb on May 31 2020, 12:04 PM. Authored by
Details
Implements parts of P1614 'The Mothership Has Landed'. Depends on D80891.
Diff Detail Event Timeline
Comment Actions @cjdb: I think you should go ahead and land the additions to "libcxx/test/std/strings/basic.string/string.nonmembers/" (other than ".../string_opcmp/", obviously). These look like good additions to the test suite, and should pass both before and after your spaceship-related changes. (It is mildly shocking that the old test suite lacked any tests where one operand was not a prefix of the other.)
Comment Actions SGTM, gimme an hour or so.
If you think that's shocking, check out our container comparison tests.
Comment Actions Do these changes require updating the status of papers?
|
I think we should not delete them from the synopsis as they are used in pre C++20 mode. You could mark them with until C++17 and then spaceship with C++20