Skip to content

[dcl.init.aggr] Bad phrase "empty initializer list" #2335

@h0nzZik

Description

@h0nzZik

The section [dcl.init.aggr] uses the phrases "empty initializer list" and "empty initializer-list" (paragraphs 5.2, 5.5, 9, and the footnote in paragraph 9). It may be in another places, too. I believe the phrase is nonsensical, since initializer-list as defined by the grammar in paragraph 1 of [dcl.init] can be never empty. Also, the paragraph 9 of [dcl.init.aggr] talks about

[...] empty initializer list {} [...]

I guess that it should talk about braced-init-list, not about initializer-list.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions