[libcxx-commits] [PATCH] D128603: [libc++][chrono] Adds operator<=> for day.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 26 02:02:24 PDT 2022


Mordante created this revision.
Herald added a project: All.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Since the calendar classes were introduced in C++20 there's no need to
keep the old comparison operators.

This commit does the day calender class, the other calendar classes will
be in a followup commit.

Implements parts of:

- P1614R2 The mothership has landed


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128603

Files:
  libcxx/include/__chrono/day.h
  libcxx/include/chrono
  libcxx/test/std/time/time.cal/time.cal.day/time.cal.day.nonmembers/comparisons.pass.cpp
  libcxx/test/support/test_comparisons.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128603.440048.patch
Type: text/x-patch
Size: 7668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220626/088bf240/attachment.bin>


More information about the libcxx-commits mailing list