[OT] - C++ exceptions are becoming more and more problematic

rikki cattermole rikki at cattermole.co.nz
Wed Feb 23 17:02:31 UTC 2022


On 24/02/2022 5:59 AM, IGotD- wrote:
> The Herb Sutter exception/return value proposal would live alongside 
> with the old exceptions. I suspect that D would do the same thing.

Yes, with the possibility of having the compiler swap the runtime 
unwinding stuff for value based where possible.

Apart from some situations where you need to be able to store a class 
based exception, I don't see why it couldn't work like this.


More information about the Digitalmars-d mailing list