C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] Rebasing C++ to C23

From: Jens Maurer <jens.maurer_at_[hidden]>
Date: Thu, 2 May 2024 19:09:56 +0200
On 26/01/2024 13.29, Jonathan Wakely via Liaison wrote:
> - memset_explicit
> I assume we want this.

I can't see how to specify these effects in the C++ abstract machine.
If your array goes out-of-scope after the memset, there's no way to
normatively prevent the dead-store elimination.

Jens

Received on 2024-05-02 17:10:03