Closed
Description
The specification of optional
uses various forms of "direct-non-list-initialization", which is defined in [general.defns.direct-non-list-init] in the Fundamentals TS, but that definition wasn't added to the IS working paper for the merge.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
zygoloid commentedon Nov 28, 2016
Looks like we could instead just remove the (unnecessary) new term. Example:
could be rewritten as
This is shorter, simpler, and doesn't require inventing a new term for something that the core language can already express. We should first run this past LWG to make sure (a) they're OK with this, and (b) they change their habits (and the fundamentals TS) to apply the same pattern going forward.
AlisdairM commentedon Mar 7, 2017
This is https://cplusplus.github.io/LWG/lwg-defects.html#2872 and should be applied to the DIS at Kona.
jwakely commentedon Mar 7, 2017
It's a shame we'll continue our bad habits now.
zygoloid commentedon Jul 15, 2017
Term has been added to library definitions.