Boost logo

Boost :

Subject: Re: [boost] [review] Review of Outcome v2 (Fri-19-Jan to Sun-28-Jan, 2018)
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2018-02-04 04:34:22


On Sat, Feb 3, 2018 at 5:13 PM, Niall Douglas via Boost <
boost_at_[hidden]> wrote:

> >> This is one of the applications of boost.Outcome. It is superior to
> naked
> >> std::error_code because it can additionally guarantee that no failure is
> >> accidentally ignored by the programmer.
> >
> > If all Outcome did was transport values, error_code and exception_ptr,
> I'd
> > support it.
>
> Last review it was widely agreed that being able to transport arbitrary
> payload with error_code was a desirable thing. I appreciate that you're
> not the whole community Emil, but that's the feedback I was given last
> review, and this library implements what the community asked for last
> time we were here.
>

exception_ptr _is_ arbitrary payload.


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