Is @safe still a work-in-progress?
rikki cattermole
rikki at cattermole.co.nz
Fri Aug 17 11:37:54 UTC 2018
On 17/08/2018 11:33 PM, Atila Neves wrote:
> . Good luck figuring out why your template functions aren't @safe and
> coaxing the compiler to tell you why it's inferring the attributes it
> is. Bonus points if it's a Phobos function so you can't slap `@safe` on
> its definition.
Sure you can. It's a template so it'll be initialized as its required.
I've done that to fix a bug in druntime before and in my own libraries.
More information about the Digitalmars-d
mailing list