Skip to content

[system.error.syn] Index is_error_condition_enum_v and enumerators of errc#8797

Open
frederick-vs-ja wants to merge 1 commit intocplusplus:mainfrom
frederick-vs-ja:index-system-error
Open

[system.error.syn] Index is_error_condition_enum_v and enumerators of errc#8797
frederick-vs-ja wants to merge 1 commit intocplusplus:mainfrom
frederick-vs-ja:index-system-error

Conversation

@frederick-vs-ja
Copy link
Contributor

No description provided.

@eisenwave eisenwave added the P2-Bug Presentational errors and omissions label Mar 19, 2026
@eisenwave
Copy link
Member

I guess we could do the same in https://eel.is/c++draft/text.encoding.id

@frederick-vs-ja
Copy link
Contributor Author

I guess we could do the same in https://eel.is/c++draft/text.encoding.id

Seems belonging to another PR to me. I'm working on this.

Thanks to using enum id;, these enumerators can be referred as both std::text_encoding::id::meow and std::text_encoding::meow. Do we want to index them as members of text_encoding::id or text_encoding?

@jwakely
Copy link
Member

jwakely commented Mar 23, 2026

I think they should be indexed as members of text_encoding because that's the intended way to refer to them, but I don't have any preference whether they're also indexed under id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2-Bug Presentational errors and omissions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants