-
Notifications
You must be signed in to change notification settings - Fork 769
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
Library index is missing many enumerators #3731
Comments
I would say we should index them as if the enumeration were a class and the enumerators were class members. However, some/all enumerations are members of some class, and the non-scoped enumeration names often don't actually show up in source code (because they are transparent). |
Editorial meeting: Index enumerators as members of the enumeration "class". |
Sorry, just picking this up again now. |
Ping! This issue is still marked as C++23. Should I plan to file PRs over the weekend (April 1/2) or should we update the tag to C++26? |
I don't feel strongly. If you have time, go ahead and make the PRs, and chances are we can apply them for 23. |
Jens got started ahead of me: #7327 |
May be related to #2972 but I think that is only about the main index.
The library contains a variety of enumerations, or bitfield/mask types that provide names like an enumeration. However, many of the enumerator names, while essentially reserved for use in such library contexts (users cannot name macros the same, etc.), are not listed in the library index.
My search is far from exhaustive, but I started from Annex D code_cvt mode enumerators, and then noticed most/all of the bitfields and bit masks in ios_base are missing, and then filed this ticket.
If we do add these names, how should we describe/index them? As members of their enumerator/surrounding class? Under their own name with an ref back to their host?
Given late filing and potential scale, this issue probably should not be considered before C++23 work starts.
The text was updated successfully, but these errors were encountered: