Boost logo

Boost :

Subject: Re: [boost] [outcome] To variant, or not to variant?
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-06-02 23:45:52


On 6/2/17 2:51 PM, Niall Douglas via Boost wrote:
> On 02/06/2017 15:57, Peter Dimov via Boost wrote:
>> Niall Douglas wrote:

> I also forget another thing which use case 3 needs, and that is
> immutability, which in turn probably in C++ implies that the types used
> must be trivially destructible, else it would be unusable. In other
> words, the code must be written as if able to run constexpr, probably.

LOL - I've already run into problems with error_code due the fact that
it's constructor is not constexpr friendly. So I would guess you're on
to something here.

>
> Niall
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk