std.experimental.allocator and @nogc

rikki cattermole via Digitalmars-d digitalmars-d at puremagic.com
Sun May 8 22:00:31 PDT 2016


On 09/05/2016 4:50 PM, Danni Coy via Digitalmars-d wrote:
> It seems to me, that std.experimental.allocator should work with @nogc
> annotated functions if none of the allocators being used are the
> gcallocator, though it's not at all clear to me how this would work.
>
> Are there plans for this?

If only we had @assumenogc ala @safe's @trusted but for @nogc we could 
definitely do it then.



More information about the Digitalmars-d mailing list