Boost logo

Boost :

Subject: Re: [boost] [outcome] To variant, or not to variant?
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-01 18:55:39


Niall Douglas wrote:
> > Something like this?
> >
> > https://github.com/pdimov/variant2/blob/develop/include/boost/variant2/result.hpp
>
> Hmm, maybe you could also implement expected<T, E>, and that would kinda
> eliminate the need for a Boost.Outcome?

My original idea was to implement my idea of expected<T, E...>, but I took a
detour through never-valueless variant<> first.


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