RFC: moving forward with @nogc Phobos

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 29 15:04:03 PDT 2014


On 9/29/14, 10:16 AM, Paulo Pinto wrote:
> Personally, I would go just for (b) with compiler support for
> increment/decrement removal, as I think it will be too complex having to
> support everything and this will complicate all libraries.

Compiler already knows (after inlining) that ++i and --i cancel each 
other, so we should be in good shape there. -- Andrei


More information about the Digitalmars-d mailing list