@nogc vs IAllocator

The D dude via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 16 13:55:59 PDT 2016


On Saturday, 16 July 2016 at 17:46:12 UTC, Lodovico Giaretta 
wrote:
> Background: working on a replacement for std.xml. Designing the 
> DOM API.
>
> [...]

Another problem that you soon will encounter is that your 
templated can never be @safe, nothrow or pure again - even if you 
use the GCAllocator for simple stuff like allocating arrays.

In case you get frustrated about this, you should vote for this 
PR:

https://github.com/dlang/phobos/pull/3891


More information about the Digitalmars-d mailing list