Created on 2016-01-30.00:00:00 last changed 89 months ago
Proposed resolution:
This wording is relative to N4567.
Change [array.overview] p2 as indicated:
-2- An array is an aggregate (8.5.1) that can be list-initialized with
the syntaxarray<T, N> a = { initializer-list };
where initializer-list is a comma-separated list ofup to N elements whose types are convertible to T.
[ 2016-02, Issues Telecon ]
P0; move to Tentatively Ready.
Similar to core issue 1270's resolution, [array.overview]/2 should cover aggregate-initialization in general. As it stands, that paragraph solely mentions copy-list-initialization — i.e. it is unclear whether the following notation is (guaranteed to be) well-formed:
std::array<int, 1> arr{0};
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-03-07 04:11:48 | admin | set | status: ready -> wp |
2016-02-07 20:24:45 | admin | set | messages: + msg7977 |
2016-02-07 20:24:45 | admin | set | status: new -> ready |
2016-01-30 18:04:05 | admin | set | messages: + msg7947 |
2016-01-30 00:00:00 | admin | create |