Boost logo

Boost :

Subject: Re: [boost] [review] Review of Outcome v2 (Fri-19-Jan to Sun-28-Jan, 2018)
From: Rob Stewart (rstewart_at_[hidden])
Date: 2018-02-08 19:20:49


On February 8, 2018 1:42:25 PM EST, Niall Douglas via Boost <boost_at_[hidden]> wrote:
> >> What does "not inspected" mean?
> >
> > Creating a variable and then doing nothing more with it.
>
> Sometimes that's unavoidable e.g. in a stack unwind.

Of course, but then std::uncaught_exception(s) can control whether to assert.

> > How does that help since there are no hooks for when value(),
> error(), etc. are called?
>
> Of course there are hooks for those. Just use a custom policy.

OK. I didn't recall those hooks when I wrote that.

--
Rob
(Sent from my portable computation device.)

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