On 4/15/2014 12:14 PM, Steven Schveighoffer wrote:
What specifically is prevented? GC.malloc, GC.free, clearly. What about
GC.getAttr? GC.query? These will not invoke collection cycles (the point of 
@nogc).

All functions not marked as @nogc cannot be called from a @nogc function. GC.malloc(), etc., are functions.

It works very much analogously to nothrow.

Reply via email to