On 4/15/2014 1:41 PM, Steven Schveighoffer wrote:
right, but at the end of the day, nothrow doesn't allow throw statements. @nogc, so far, just doesn't allow you to call other functions that aren't marked @nogc.
"GC allocations in a @nogc function will be disallowed, and that means calls to operator new, closures that allocate on the GC, array concatenation, array appends, and some array literals."