This is an archive of the discontinued LLVM Phabricator instance.

[libc++][spaceship] P1612R2: Removed `operator!=` from `bitset`
ClosedPublic

Authored by H-G-Hristov on Jun 10 2023, 12:31 AM.

Details

Summary

Implements parts of P1612R2:

  • Removed operator!= from bitset

Diff Detail

Event Timeline

H-G-Hristov created this revision.Jun 10 2023, 12:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2023, 12:31 AM
Herald added a subscriber: yaxunl. · View Herald Transcript
H-G-Hristov requested review of this revision.Jun 10 2023, 12:31 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 10 2023, 12:31 AM
Herald added a reviewer: Restricted Project. · View Herald Transcript
Mordante requested changes to this revision.Jun 10 2023, 6:03 AM
Mordante added a subscriber: Mordante.

In general LGTM, but I would like to land D152297 first and directly update the status page.

This revision now requires changes to proceed.Jun 10 2023, 6:03 AM

Addressed comments

In general LGTM, but I would like to land D152297 first and directly update the status page.

Thank you for the review!

libcxx/include/bitset
764–765

constexpr since C++23 but removed in C++20 - Should I remove the macro?

Mordante accepted this revision.Jun 11 2023, 5:00 AM

LGTM modulo some nits.

libcxx/include/bitset
82

It's a bit weird to become constexpr when it's removed. Please remove the constexpr here.

764–765

Yes please.

This revision is now accepted and ready to land.Jun 11 2023, 5:00 AM

Removed macro