Owned members

Alex Khmara alex.khmara at gmail.com
Sat Dec 25 15:38:19 PST 2010


> Well, think about pure. A pure function can call other pure functions,  
> because those functions declare that they obey the rules of pure (i.e.  
> no globals, etc). Scope variables can be passed to functions taking  
> scoped parameters because those functions declare that they'll obey the  
> rules of scope (i.e. they won't squirrel away references to it, etc).

And so we have another complication in language - another transitive type  
modifier.


More information about the Digitalmars-d mailing list