nogc v0.5.0 - DIP1008 works!

ag0aep6g anonymous at
Mon May 27 10:31:10 UTC 2019

On 27.05.19 12:06, Atila Neves wrote:
> No, and I guess it can't. I'm trying to figure out what the implications 
> are. Can Vector only be @safe for Mallocator? Is it possible to write a 
> @safe Vector at all without having to force the allocator to be @safe?

For @safe allocators, Vector can be @safe.

For specific @system allocators, like Mallocator, you can make special 
@trusted cases in Vector.

For generic @system allocators, Vector cannot be @safe (or @trusted).

More information about the Digitalmars-d-announce mailing list