Why is Throwable.TraceInfo.toString not @safe?

Johannes Loher johannes.loher at fg4f.de
Sun Jul 21 18:03:33 UTC 2019


I'd like to log stacktraces of caught exceptions in an @safe manner.
However, Throwable.TraceInfo.toString is not @safe (or @trusted), so
this is not possible. Why is it not @safe? Can it be @trusted?

Thanks for your help!


More information about the Digitalmars-d-learn mailing list