Boost logo

Boost :

Subject: Re: [boost] [outcome] To variant, or not to variant?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-31 15:17:20


Thomas Heller wrote:
> > // nullptr when has_value()
> > // either nullptr or make_exception_ptr(system_error()) when
> > has_error()
>
>
> Why not this:
> make_exception_ptr(system_error(error()) when has_error()?

Yes, this was what I meant, sorry. Shortened it too much.


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