Arrays of structs
anonymous via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Aug 27 05:56:24 PDT 2015
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.
More information about the Digitalmars-d-learn
mailing list