can we un-deprecate .ptr on arrays in @safe code? cf issue 18529

bauss jj_1337 at live.dk
Tue Feb 27 09:23:19 UTC 2018


On Tuesday, 27 February 2018 at 08:43:32 UTC, Timothee Cour wrote:
> see rationale in https://issues.dlang.org/show_bug.cgi?id=18529

All I see is a rationale for how it can't be replaced, but not a 
rationale for actually doing it.

I can't imagine a "safe" situation where you want to do it.

Tbh. just put your code in @trusted


More information about the Digitalmars-d mailing list