C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Way to get rid of valueless_by_exception in std::variant

From: Jonathan Wakely <cxx_at_[hidden]>
Date: Tue, 28 Oct 2025 15:57:48 +0000
On Tue, 28 Oct 2025 at 15:56, Nikl Kelbon via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> SSO buffer, live global instances etc etc thats all 'self reference types'
> which will work with my approach
>

I already sent a counterexample.

https://lists.isocpp.org/std-proposals/2025/10/15756.php


>
> вт, 28 окт. 2025 г. в 20:53, Thiago Macieira via Std-Proposals <
> std-proposals_at_[hidden]>:
>
>> On Tuesday, 28 October 2025 07:47:15 Pacific Daylight Time Nikl Kelbon
>> via Std-
>> Proposals wrote:
>> > Please give example of such type
>>
>> Any type whose constructor may access a global list of live instances.
>
>

Received on 2025-10-28 15:58:07