File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 35753575
35763576\pnum
35773577\indextext {\idxcode {delete}!undefined}%
3578- In the first alternative (\term { delete object} ), if the static type of
3578+ In the first alternative (delete object), if the static type of
35793579the object to be deleted is different from its dynamic type, the static type shall be
35803580a base class of the dynamic type of the object to be deleted and the static type shall
35813581have a virtual destructor or the behavior is undefined. In the second
3582- alternative (\term { delete array} ) if the dynamic type of the object to
3582+ alternative (delete array) if the dynamic type of the object to
35833583be deleted differs from its static type, the behavior is undefined.
35843584
35853585\pnum
36723672If the deallocation functions have class scope,
36733673the one without a parameter of type \tcode {std::size_t} is selected.
36743674\item
3675- If the type is complete and if, for the second alternative
3676- ( \term {delete array} ) only, the operand is a pointer to a class type with a
3675+ If the type is complete and if, for the second alternative (delete
3676+ array) only, the operand is a pointer to a class type with a
36773677non-trivial destructor or a (possibly multi-dimensional) array thereof,
36783678the function with a parameter of type \tcode {std::size_t} is selected.
36793679\item
You can’t perform that action at this time.
0 commit comments