
4 Feb
2018
4 Feb
'18
4:34 a.m.
On Sat, Feb 3, 2018 at 5:13 PM, Niall Douglas via Boost < boost@lists.boost.org> 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.