ref is unsafe

Jonathan M Davis jmdavisProg at gmx.com
Wed Jan 2 15:30:38 PST 2013


On Wednesday, January 02, 2013 15:06:24 H. S. Teoh wrote:
> All extern(C) functions must be @system by default. It makes no sense to
> allow a @safe extern(C) function, since there is no way for the compiler
> to verify anything at all. The best you can do is @trusted.

Agreed. And @trusted is seriously questionable.

- Jonathan M Davis


More information about the Digitalmars-d mailing list