P2417 A more constexpr bitset
wg21bot opened this issue ยท 7 comments
Was seen by LEWG ML review on 08-09-2021. Attaching a short summary:
- The paper generally got good support.
- Recommendation: add hash<bitset>::operator() constexpr
Author: Will be added to next revision - Multiple requests to have implementation experience in the proposal.
Author: Will be added in the next revision. Mentions: https://github.com/ClaasBontus/bitset2, https://github.com/neargye-wg21/bitset-constexpr-proposal
Waiting for R1 which will contain the fixes mentioned.
I recommend the new revision will go to electronic polls.
2021-11 Library Evolution Electronic Poll Outcomes
Send [P2417R0] (A More constexpr bitset) to Library Working Group for C++23, classified as an improvement of an existing feature ([P0592R4] bucket 2 item).
SF | F | N | A | SA |
---|---|---|---|---|
13 | 13 | 5 | 0 | 0 |
Strong consensus in favor
Reviewed by LWG. The class synopsis has duplicated constexpr
on the size()
member, and it needs to propose edits to the detailed desciptions in [bitset.cons], [bitset.members] and [bitset.operators]. We would be OK with blanket instructions saying something like "Add constexpr
to the detailed descriptions in [bitset.cons] and [bitset.members] for all functions that are not currently constexpr', and the first three detailed descriptions in [bitset.operators]."
Reviewed and approved for C++23 by LWG.