Title
Enumeration value in direct-new-declarator
Status
tc1
Section
8.3.4 [expr.new]
Submitter
Jason Merrill

Created on 1998-11-16.00:00:00 last changed 208 months ago

Messages

Date: 1999-10-15.00:00:00

Proposed Resolution (10/99): Replace "integral type" by "integral or enumeration type" in 8.3.4 [expr.new] paragraph 6.

Date: 2004-09-10.00:00:00

8.3.4 [expr.new] paragraph 6 says:

The expression in a direct-new-declarator shall have integral type (6.9.1 [basic.fundamental] ) with a non-negative value.
I assume the intent was to also allow enumeral types, as we do in 8.2.1 [expr.sub] ?
History
Date User Action Args
2003-04-25 00:00:00adminsetstatus: dr -> tc1
2000-02-23 00:00:00adminsetstatus: ready -> dr
1999-09-14 00:00:00adminsetmessages: + msg74
1998-11-16 00:00:00admincreate