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

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

Messages

Date: 1999-10-15.00:00:00

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

Date: 2022-11-20.07:54:16

7.6.2.8 [expr.new] paragraph 6 says:

The expression in a direct-new-declarator shall have integral type (6.8.2 [basic.fundamental] ) with a non-negative value.
I assume the intent was to also allow enumeral types, as we do in 7.6.1.2 [expr.sub] ?

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

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