This is an archive of the discontinued LLVM Phabricator instance.

[libc++][spaceship] P1614R2: Removed `operator!=` from `weekday`s
ClosedPublic

Authored by H-G-Hristov on Jun 12 2023, 4:32 AM.

Details

Summary

Implements parts of P1614R2. Removed operator!= from:

  • weekday
  • weekday_indexed
  • weekday_last
  • month_weekday
  • month_weekday_last
  • year_month_weekday
  • year_month_weekday_last

Note these operators were added and removed in C++20.

Diff Detail

Event Timeline

H-G-Hristov created this revision.Jun 12 2023, 4:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 4:32 AM
Herald added a subscriber: yaxunl. · View Herald Transcript

Rebased + implementation

H-G-Hristov edited the summary of this revision. (Show Details)Jun 12 2023, 4:47 AM
H-G-Hristov published this revision for review.Jun 12 2023, 7:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 12 2023, 7:57 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante accepted this revision.Jun 12 2023, 9:26 AM
Mordante edited the summary of this revision. (Show Details)
Mordante added a subscriber: Mordante.

LGTM! I added a note to the commit message, please land with the new text.

This revision is now accepted and ready to land.Jun 12 2023, 9:26 AM