Title
Unevaluated operands are not necessarily constant expressions
Status
open
Section
7.7 [expr.const]
Submitter
Nikolay Ivchenkov

Created on 0211-03-08.00:00:00 last changed 22074 months ago

Messages

Date: 2012-02-27.00:00:00

The current definition of constant expressions appears to make unevaluated operands constant expressions; for example, new char[10] would seem to be a constant expression if it appears as the operand of sizeof. This seems wrong.

History
Date User Action Args
0211-03-08 00:00:00admincreate