Could assertThrown be made safe/trusted?

H. S. Teoh hsteoh at
Tue Jan 17 11:21:25 PST 2012

On Tue, Jan 17, 2012 at 09:07:05AM -0800, Jonathan M Davis wrote:
> Exception itself isn't @safe yet (its constructor in particular), and
> I don't think that AssertError is either. A number of stuff like that
> in druntime and Phobos still needs to be marked @safe or @trusted.

Just out of curiosity, why isn't it marked @safe? I looked over the
source and didn't see anything immediately obvious that would preclude


If Java had true garbage collection, most programs would delete
themselves upon execution. -- Robert Sewell

More information about the Digitalmars-d-learn mailing list