C++ Logo

std-proposals

Advanced search

Re: [std-proposals] A new C++ keyword: forget

From: Bjorn Reese <breese_at_[hidden]>
Date: Wed, 12 Aug 2026 16:46:43 +0200
On 8/12/26 16:04, Ville Voutilainen via Std-Proposals wrote:

> 1) poisoning a variable after it's been moved from

A moved-from variable can be recreated by assignment, a poisoned
variable cannot. So this is only a partial solution for the use-case.

Received on 2026-08-12 14:46:48