Alternatives to exceptions for error handling

Paul Backus snarwin at
Mon Nov 23 00:22:10 UTC 2020

On Monday, 23 November 2020 at 00:12:28 UTC, IGotD- wrote:
> On Sunday, 22 November 2020 at 18:21:44 UTC, Paul Backus wrote:
>> [1] 
> Doesn't the lean exceptions what Herb Sutter proposes have the 
> same problem as normal exception, that the data flow analysis 
> gives up. Anything that requires unwinding is not going to fit 
> for that purpose.

In Herb Sutter's proposal, throwing an exception is syntax sugar 
for a return statement. There is no stack unwinding.

More information about the Digitalmars-d mailing list