Boost logo

Boost :

Subject: Re: [boost] [outcome] Second high level summary of review feedback accepted so far
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-30 17:18:45


Niall Douglas wrote:
> On 30/05/2017 17:01, Peter Dimov via Boost wrote:
> > Vicente J. Botet Escriba wrote:
> >
> >> We can have C++14 (or even C++11) version of std::variant. Just someone
> >> needs to port it.
> >> It would be even better if we had also a never-empty variant.
> >
> > I'm on it.
>
> The libc++ variant implementation started life as a standalone library I
> believe, and can be found at https://github.com/mpark/variant. Works right
> back to C++ 11 on all major compilers.

I know, I use it when I need an std::variant; but I wanted to implement
never-valueless.

Actually I wanted to implement expected<T, E...> but got a bit distracted
along the way. Will get to it eventually though.


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