On Monday, 10 November 2014 at 12:59:14 UTC, Tomer Filiba wrote:
http://wiki.dlang.org/DIP68This DIP proposes the addition of a compiler-enforced @nogc attribute on types.
I would probably suggest extending this to variables. class Foo { @nogc Bar var1; void doStuff() { @nogc char* cStrPtr; } }