Help, what is the code mean?
drug
drug2004 at bk.ru
Mon Apr 27 15:52:32 UTC 2020
27.04.2020 18:28, data pulverizer пишет:
> I'm probably not the first person to say this but. Isn't @trusted an odd
> label to give unsafe functions and open to abuse by unscrupulous
> programmers? It almost says "nothing to see, this here piece of code is
> a-ok". Shouldn't it be explicitly labelled as @unsafe?
It says "this piece of code is verified by its author manually so you
(the compiler) can trust it is @safe"
More information about the Digitalmars-d-learn
mailing list