21 May
2017
21 May
'17
11:53 p.m.
Long story short, the relevance to Outcome is that you can always store std::error_code in result/outcome, even if the user passes you a boost::error_code (because it will convert). There is no need to choose at compile time which of the two to store, because you can take both. That is, the function
result<T> make_error_result( std::error_code const & ec );
will now be able to take Boost error codes as well.
Ah now I get it. Your patch adding that support is a great bit of work then. Thank you. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/