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

2024-11-11


337. Attempt to create array of abtract type should cause deduction to fail

Section: 13.10.3  [temp.deduct]     Status: CD1     Submitter: John Spicer     Date: 30 Jan 2002

[Voted into WP at April 2003 meeting.]

In 13.10.3 [temp.deduct], attempting to create an array of abstract class type should be included in the list of things that cause type deduction to fail.

Proposed Resolution (4/02):

In 13.10.3 [temp.deduct] paragraph 2 amend the bullet item:

Attempting to create an array with an element type that is void, a function type, or a reference type, or attempting to create an array with a size that is zero or negative.

To the following:

Attempting to create an array with an element type that is void, a function type, or a reference type, or an abstract class type, or attempting to create an array with a size that is zero or negative.