On Thursday, 27 August 2015 at 12:56:26 UTC, anonymous wrote:
On Thursday 27 August 2015 14:35, BBasile wrote:

Anyway. I cheat a bit with attributes but as long as it's only for me...I know this kinds of functions are not phobos-level.

Sure, as long as you're cautious and regard those functions as unsafe, you may be fine. You still risk accidentally writing unsafe code that's marked @safe, but that's up to you.

But when you show such code in the learn group, I think it's important to point out that this usage of @trusted is wrong. If only to warn newbies about it.

:handshake:

Reply via email to