On 14/05/2017 16:31, Peter Dimov via Boost wrote:
Documentation: https://ned14.github.io/boost.outcome/index.html
Why does the library make the types possibly-empty? I couldn't find the answer in the documentation.
Do you mean empty angle brackets in the make functions? i.e. outcome::make_exceptional_outcome<>()? If so, they are superfluous and can be omitted, they were there for exposition only (see the functions docs and you'll see why). The code compiles fine without them. If you feel that they ought to be removed from the code examples in the docs, please do say so during your review, though as I mention they were deliberately left in to remind people look up the API docs. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/