
4 Feb
2018
4 Feb
'18
1:13 a.m.
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. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/