Depends on D145881
Implements parts of P1614R2: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1614r2.html
Implements operator<=> for time_point
Paths
| Differential D146250
[libc++][spaceship] Implement `operator<=>` for `time_point` ClosedPublic Authored by H-G-Hristov on Mar 16 2023, 11:03 AM.
Details
Summary Depends on D145881 Implements parts of P1614R2: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1614r2.html
Diff Detail
Unit TestsFailed Event TimelineComment Actions In general LGTM modulo some nits.
Comment Actions
Thank you for the review. I'll do that.
This revision is now accepted and ready to land.Apr 8 2023, 5:22 AM Closed by commit rGd94a770f7b05: [libc++][spaceship] Implement `operator<=>` for `time_point` (authored by Zingam). · Explain WhyApr 8 2023, 10:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 508499 libcxx/docs/Status/SpaceshipProjects.csv
libcxx/include/__chrono/time_point.h
libcxx/include/chrono
libcxx/test/std/time/time.point/time.point.comparisons/compare.three_way.compile.fail.cpp
libcxx/test/std/time/time.point/time.point.comparisons/compare.three_way.pass.cpp
|
Pedantic, but this include is mandated not to be required. The chrono header is required to include this header.
(http://eel.is/c++draft/time.syn)