On 03/16/2018 10:22 PM, Nordlöw wrote:
Shouldn't `pureMalloc` at

https://dlang.org/library/core/memory/pure_malloc.html

be @system instead of @trusted?

You can only access the uninitialized memory with @system features: casting the pointer or slicing it. So it's safe, because you can't do anything unsafe with it in @safe code.

Reply via email to