- 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 284 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: 2026-07-25.21:52:10
7.6.2.8 [expr.new]
paragraph 6 says:
Proposed Resolution (10/99):
Replace "integral type" by "integral or enumeration type" in
7.6.2.8 [expr.new] paragraph 6.
The expression in a direct-new-declarator shall have integral
type (6.9.3 [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]
?
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2003-04-25 00:00:00 | admin | set | status: dr -> tc1 |
| 2000-02-23 00:00:00 | admin | set | status: ready -> dr |
| 1999-09-14 00:00:00 | admin | set | messages: + msg74 |
| 1998-11-16 00:00:00 | admin | create | |