Boost logo

Boost :

Subject: Re: [boost] [review] Review of Outcome (starts Fri-19-May)
From: Peter Dimov (lists_at_[hidden])
Date: 2017-05-16 01:50:44


Gavin Lambert wrote:

> Surely this must also throw if f1_impl() can produce an error outcome and
> thus might not contain an X?

Yes of course, the examples are deliberately identical semantically, one
uses "void get()" and the other uses "T value()". I prefer the second.


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