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

[dcl.init.list] Unparenthesize cross-reference #5275

Open
JohelEGP opened this issue Feb 8, 2022 · 1 comment
Open

[dcl.init.list] Unparenthesize cross-reference #5275

JohelEGP opened this issue Feb 8, 2022 · 1 comment

Comments

@JohelEGP
Copy link
Contributor

JohelEGP commented Feb 8, 2022

(3.3)
Otherwise, if T is a character array and the initializer list has a single element that is an appropriately-typed string-literal ([dcl.init.string]), initialization is performed as described in that subclause.

It feels weird to me that the wording refers to something in a parentheses. Perhaps it'd be more appropriate to replace it with the following.

(3.3)
Otherwise, if T is a character array and the initializer list has a single element that is an appropriately-typed string-literal, initialization is performed as described in [dcl.init.string].

@jwakely
Copy link
Member

jwakely commented Feb 9, 2022

This refers to the formatting of an unofficial and un-approved third-party rendering of the draft.

The text in the PDF is:

Otherwise, if T is a character array and the initializer list has a single element that is an appropriately-typed string-literal (9.4.3), initialization is performed as described in that subclause.

I agree that would be better as:

Otherwise, if T is a character array and the initializer list has a single element that is an appropriately-typed string-literal, initialization is performed as described in 9.4.3.

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