C++ Logo

std-proposals

Advanced search

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

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sat, 03 Sep 2022 11:19:21 -0300
On Saturday, 3 September 2022 10:17:32 -03 blacktea hamburger via Std-
Proposals wrote:
> So why is there IOC? Because it is to prevent undefined behavior from
> happening (but only for trivial types).

You're not answering the question. Why can't you just fix it? Why is adding an
exception a better solution than others?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering

Received on 2022-09-03 14:19:24