Safety, undefined behavior, @safe, @trusted
Leandro Lucarella
llucax at gmail.com
Thu Nov 5 17:07:56 PST 2009
Adam D. Ruppe, el 5 de noviembre a las 16:40 me escribiste:
> With safe by default, you'd probably make existing code compile just by
> slapping @trusted: at the top and being done with it. That's not actually
> safe - you're just telling the compiler to shut up about it.
I don't see this problem going away just by making @unsafe the default.
With this arguments one can think that people will not use @safe at all
and that's it.
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Y2K
- what a disappointment... i had at least expected one nuclear plant to blow
More information about the Digitalmars-d
mailing list