nothrow by default

rikki cattermole rikki at cattermole.co.nz
Sun Jan 5 13:56:14 UTC 2020


On 06/01/2020 2:51 AM, Ola Fosheim Grøstad wrote:
> On Sunday, 5 January 2020 at 13:32:24 UTC, rikki cattermole wrote:
>> When I described unrolling, I do mean unrolling using the exception 
>> handling mechanism.
> 
> But how will it be faster if it doesn't recover on the spot?

If you tell it to unwind, it won't.
The idea is to either assert out or return from the erroring function 
and let the parent figure it out.


More information about the Digitalmars-d mailing list