[libc++][spaceship] Implement `operator<=>` for `time_point`
authorHristo Hristov <zingam@outlook.com>
Sat, 1 Apr 2023 08:51:03 +0000 (11:51 +0300)
committerHristo Hristov <zingam@outlook.com>
Sun, 9 Apr 2023 05:47:20 +0000 (08:47 +0300)
commitd94a770f7b05161e0b8bc87975cfbc7f79d4b497
treee393fd7b9c4db7a9c7b19652bb5d817930c789a6
parent72e1441c7a3067a303bd0909f9928af8d5bf1769
[libc++][spaceship] Implement `operator<=>` for `time_point`

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`

Reviewed By: #libc, Mordante

Differential Revision: https://reviews.llvm.org/D146250
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 [new file with mode: 0644]
libcxx/test/std/time/time.point/time.point.comparisons/compare.three_way.pass.cpp [new file with mode: 0644]