Variables should have the ability to be @nogc

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Tue May 31 07:01:33 PDT 2016


On Tuesday, 31 May 2016 at 13:33:03 UTC, Basile B. wrote:
> [...]
> A solution would be, in 'make()', to statically determine if 
> the aggregate contains arrays, pointers or classes. This is 
> very simple, as seen for example in EMSI container library with 
> the 'shouldAddGCRange' template. [...]

Please also note well that this template will certainly be 
affected by the fact the trait 'getMember' has a serious issue 
related to the target visibility, as reported here:

https://issues.dlang.org/show_bug.cgi?id=15371



More information about the Digitalmars-d mailing list