Boost logo

Boost :

Subject: Re: [boost] [outcome v2] Please comment on new result<T, EC> reference API docs
From: Peter Dimov (lists_at_[hidden])
Date: 2017-06-22 23:00:09


Niall Douglas wrote:

> I appreciate that this change is controversial. However, I am also minded
> that there is no point in Outcome v2 covering the identical ground as
> Expected, just less well.

Can't say I agree with that. Outcome should cover the ground that needs to
be covered. Not cover useless ground that nobody needs covered (status) just
to avoid the "expected" ground. If that makes result<T, EC> virtually
identical to expected<T, E>, so be it. This is just a sign that both you and
Vicente have the basic design correct. You will still differentiate based on
implementation quality, extra features of error_code_extended, and the added
value that outcome brings to the party.


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