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

[basic.fundamental] Weird terminology about "X character types" #5638

Open
frederick-vs-ja opened this issue Jul 23, 2022 · 1 comment
Open

Comments

@frederick-vs-ja
Copy link
Contributor

Given the definitions of terms ordinary character types, narrow character types, and character types (added by P2314R4) in [basic.fundamental], ordinary/narrow character types aren't "character types that are ordinary/narrow", because signed char and unsigned char are ordinary/narrow character types, but not "character types".

On the other hand, the term encoded character types defined in [fs.req] has the exactly same meaning as "character types". Is there any reason to use two terms to describe the same set of types?

It seems that the term "encoded character types" should be defined in [basic.fundamental]/11, used in [basic.fundamental]/11 and [lex.charset]/5, and [fs.req] just needs to refer to the definition.

@cor3ntin
Copy link
Contributor

Is there any reason to use two terms to describe the same set of types?

I believe we should use character type in [fs], remove the definition in [fs.req], along with the note 1 of that subclause

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

No branches or pull requests

2 participants