How to use pure in D 2.0 question on Stack Overflow?

Jesse Phillips jessekphillips at gmail.com
Thu Jun 18 20:12:59 PDT 2009


On Thu, 18 Jun 2009 23:21:29 +0100, div0 wrote:

> 
> Surely the heap itself is global state? So creating a new object should
> be forbidden.
> 

Isn't the stack just as global as the heap? By global it isn't referring 
to storage location but the scoping that is enforced by the compiler.



More information about the Digitalmars-d mailing list