On Tuesday, 27 February 2018 at 09:47:51 UTC, Stefan Koch wrote:
On Tuesday, 27 February 2018 at 09:23:19 UTC, bauss wrote:
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

Checking if an array is the slice of another.

Like?

assert(a.ptr != b.ptr);

Which already works in @safe.

Reply via email to