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

[2019-02 CWG Motion 9] P0960R3 Allow initializing aggregates from a parenthesized list of values #2689

Closed
jensmaurer opened this issue Feb 23, 2019 · 1 comment
Assignees
Milestone

Comments

@jensmaurer
Copy link
Member

jensmaurer commented Feb 23, 2019

P0960R3

@jensmaurer jensmaurer added this to the post-2019-02 milestone Feb 26, 2019
zygoloid added a commit that referenced this issue Mar 12, 2019
P0960r3 Allow initializing aggregates from a parenthesized list of values

Fixes #2689.
@languagelawyer
Copy link
Contributor

@zygoloid @jensmaurer it is surprising that the wording for [dcl.init]/(17.5) passed as-is. It:

  • uses constructs like «ith array element»
  • counts them from 1 to N, not from 0 to N-1.

Was this an overlook?

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

3 participants