Boost logo

Boost :

Subject: Re: [boost] Noexcept
From: Edward Diener (eldiener_at_[hidden])
Date: 2017-06-15 21:36:00


On 6/15/2017 2:45 PM, Ion Gaztañaga via Boost wrote:
> On 14/06/2017 22:35, Edward Diener via Boost wrote:
> cutable.
>>>
>>> It adds non-determinism because there is no upper bound when an
>>> exception is thrown.
>>
>> Please explain what this is supposed to mean, because it does not mean
>> anything to me.
>
> It's not easy to know and no way to guarantee how much time the run-time
> plus your code needs to propagate the exception and execute the landing
> codee. With return codes you can measure it. For critical systems this
> is very important.

Well that is some "translation" from your original remark above <g>.

You can obviously measure such timings for a given exception just as you
can measure such timings for return codes. There is nothing
non-deterministic about either.

>
> Ion


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