Created on 2015-04-03.00:00:00 last changed 46 months ago
[Adopted at the February, 2017 meeting as part of paper P0620R0.]
According to 7.6.2.8 [expr.new] paragraph 2,
If a placeholder type (9.2.9.7 [dcl.spec.auto]) appears in the type-specifier-seq of a new-type-id or type-id of a new-expression, the new-expression shall contain a new-initializer of the form
( assignment-expression )
Now that auto v{x}; is permitted, this restriction on new-expressions should be revised to allow a single-element braced-init-list as well.
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-17 00:00:00 | admin | set | status: drafting -> cd5 |
2015-04-03 00:00:00 | admin | create |