[Issue 13572] etc.c.zlib must be nothrow
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jun 23 10:52:55 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=13572
ag0aep6g at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ag0aep6g at gmail.com
--- Comment #12 from ag0aep6g at gmail.com ---
(In reply to Sobirari Muhomori from comment #10)
> a @safe caller can't come up with an
> invalid pointer
(In reply to Ketmar Dark from comment #11)
> sure it can.
[...]
> dg.ptr = cast(void*)42;
That doesn't compile with @safe.
--
More information about the Digitalmars-d-bugs
mailing list