Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does __cpp_lib_constexpr_bitset have value 202202L instead of 202207L? #6065

Closed
cpplearner opened this issue Jan 27, 2023 · 2 comments · Fixed by #6066
Closed

Why does __cpp_lib_constexpr_bitset have value 202202L instead of 202207L? #6065

cpplearner opened this issue Jan 27, 2023 · 2 comments · Fixed by #6066
Assignees

Comments

@cpplearner
Copy link
Contributor

P2417R2 (A more constexpr bitset) was adopted in 2022-07 (#5679), but the feature-test macro got the value 202202L.

#define @\defnlibxname{cpp_lib_constexpr_bitset}@ 202202L // also in \libheader{bitset}

What is the reason for that? Is that a mistake?

@jwakely
Copy link
Member

jwakely commented Jan 27, 2023

Yes, just a typo I think. It's not too late to fix it for C++23 (although it also doesn't really matter, since those numbers are fairly arbitrary, all that matters is that they increase when they're changed).

@jensmaurer
Copy link
Member

jensmaurer commented Jan 27, 2023

My bug: 75518ff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants