19 May
2017
19 May
'17
3:53 p.m.
If I take your library, and also apply the "Sea of noexcept" approach, this means that if I call `if(o.error())` to check if I have an error, I might be triggering `std::terminate()`. Scary, but maybe this is ok, it you treat empty outcome as a really abnormal state.
As with all software libraries, you have to assume that the end user has read the documentation and has some understanding of the standard library. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/