Could assertThrown be made safe/trusted?
Jonathan M Davis
jmdavisProg at gmx.com
Tue Jan 17 14:04:24 PST 2012
On Tuesday, January 17, 2012 20:26:48 simendsjo wrote:
> So basically @safe is mostly a no-go as of now? Not sure I understand
> what you mean though.. enforce() can be used in @safe mode.
Honestly, I suspect that that's a hole in @safe, since Exception's constructor
isn't @safe. But I don't know. @safe is not fully implemented, so there are
likely to be issues with it. I don't know how much it really works.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list