CWG Issue 1326 (original) (raw)

This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2025-11-05


1326. Deducing an array bound from an initializer-list

Section: 13.10.3.2 [temp.deduct.call]Status: dupSubmitter: Faisal ValiDate: 2011-05-28

It would be useful to be able to deduce an array bound from the number of elements in an initializer list.

Rationale (August, 2011):

The implications of array temporaries for the language should be considered by the Evolution Working Group in a comprehensive fashion rather than on a case-by-case basis. See also issues1300, 1307, and 1525.

Rationale (January, 2021):

This issue is a duplicate ofissue 1591.