File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5461
5461
\pnum
5462
5462
\indextext {\idxcode {delete}!undefined}%
5463
5463
In a single-object delete expression, if the static type of the object to be
5464
- deleted is different from its dynamic type
5464
+ deleted is not similar \iref { conv.qual } to its dynamic type
5465
5465
and the selected deallocation function (see below)
5466
5466
is not a destroying operator delete,
5467
5467
the static type shall be a base
5468
5468
class of the dynamic type of the object to be deleted and the static type shall
5469
5469
have a virtual destructor or the behavior is undefined. In an array delete
5470
- expression, if the dynamic type of the object to be deleted differs from its
5471
- static type, the behavior is undefined.
5470
+ expression, if the dynamic type of the object to be deleted is not similar to
5471
+ its static type, the behavior is undefined.
5472
5472
5473
5473
\pnum
5474
5474
The \grammarterm {cast-expression} in a \grammarterm {delete-expression} shall
You can’t perform that action at this time.
0 commit comments