CWG Issue 1300 (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


1300.T() for array types

Section: 7.6.1.4 [expr.type.conv]Status: dupSubmitter: Daniel KrüglerDate: 2011-04-18

In an expression of the form T(), 7.6.1.4 [expr.type.conv] paragraph 2 requires that T not be an array type. Now that temporary arrays can be created via a braced-init-list (seeissue 1232), this restriction should be eliminated.

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 issues1307, 1326, and1525.

Rationale (February, 2014):

This is a duplicate of issue 914.