Boost logo

Boost :

Subject: Re: [boost] [review] **NEXT WEEK** Review of Outcome (starts Fri-19-May)
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-05-14 18:28:07


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/

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk