GC-free techniques for a wiki page - Was: Smart pointers instead of GC?

Dicebot public at dicebot.lv
Mon Feb 3 04:35:06 PST 2014


On Monday, 3 February 2014 at 12:22:48 UTC, Gopan wrote:
> Is it possible to switch off GC during compilation so that I 
> will get
> compilation error on every statement that invites GC in?

No, right now only run-time asserts are possible. You may want to 
wait for https://github.com/D-Programming-Language/dmd/pull/1886 
to be merged.


More information about the Digitalmars-d mailing list