Date: Sun, 27 Oct 2024 13:03:58 -0700
On Sunday 27 October 2024 12:16:09 Pacific Daylight Time Lénárd Szolnoki via
Std-Proposals wrote:
> It's possible to effectively opt-in. Have a static constinit optional, and
> do the initialisation dance yourself.
Effectively, no, it isn't. That still registers the std::optional destructor on
first use, so the guard variable and all the verification we've talked about is
still present.
Std-Proposals wrote:
> It's possible to effectively opt-in. Have a static constinit optional, and
> do the initialisation dance yourself.
Effectively, no, it isn't. That still registers the std::optional destructor on
first use, so the guard variable and all the verification we've talked about is
still present.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Platform & System Engineering
Received on 2024-10-27 20:04:04