Boost logo

Boost :

Subject: Re: [boost] [review] Review of Outcome v2 (Fri-19-Jan to Sun-28-Jan, 2018)
From: Nevin Liber (nevin_at_[hidden])
Date: 2018-02-08 17:56:48


On Mon, Feb 5, 2018 at 6:00 PM, Rob Stewart via Boost <boost_at_[hidden]
> wrote:

> I think the library could, at least, assert in debug builds when a result
> or outcome is not inspected.
>

That can be problematic. Suppose you have one that isn't inspected
(because the library you are calling uses outcome for return values) and an
exception is thrown (say, from a different library). Is it incorrect to
not have inspected it?

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  +1-847-691-1404

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