Alternatives to exceptions for error handling
H. S. Teoh
hsteoh at quickfur.ath.cx
Mon Nov 23 03:49:37 UTC 2020
On Mon, Nov 23, 2020 at 12:22:10AM +0000, Paul Backus via Digitalmars-d wrote:
[...]
> In Herb Sutter's proposal, throwing an exception is syntax sugar for a
> return statement. There is no stack unwinding.
This is where I'd lean as well. Retain the same syntax, but change the
underlying implementation.
T
--
Let's eat some disquits while we format the biskettes.
More information about the Digitalmars-d
mailing list