Boost logo

Boost :

Subject: Re: [boost] [review] Review of Outcome v2 (Fri-19-Jan to Sun-28-Jan, 2018)
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2018-02-09 09:08:11


>>>> 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.

Stack unwinding was but one example. There are many other real world use
cases where it's absolutely right to not examine state of a returning
object. This is why I said I don't personally see much usefulness for
such a thing.

However, I've agreed to implement it anyway. It might be useful in some
codebases, simple ones.

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