C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Relax the restriction on the operand of a single-object delete-expression

From: blacktea hamburger <greenteahamburger_at_[hidden]>
Date: Sun, 4 Sep 2022 16:45:51 +0800
Well, it doesn't quite make sense, but it's possible. I think the standard
should allow all possible and logically plausible codes.

The wording of [expr.delete]/2 seems to only take into account that objects
can only be created by new expressions (since IOC was added very late), and
that's the issue.

Received on 2022-09-04 08:46:18