Catching Errors
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 20 09:11:40 PST 2017
On Friday, 20 January 2017 at 17:00:12 UTC, Jacob Carlborg wrote:
> Unfortunately setting a new assert handler requires it to be
> nothrow [1].
WTF. I guess I see why, assert is assumed to be nothrow and used
in those statically marked blocks, but ugh.
> AST macros :)
Yeah, it could do it, but since assert is built in, the compiler
can just do it for us too.
but meh.
More information about the Digitalmars-d
mailing list