Inner classes - More expressiveness needed

Gregor Richards Richards at codu.org
Thu Oct 25 08:09:34 PDT 2007


I hate when people say that "static" is overused, when they really just 
don't know what static means.

There are only two meanings for "static" in D:

  * Static conditionals.
  * Static declarations.

For static declarations, the meaning of static is 100% consistent. It 
means that the given declaration, though accessed by its semantic scope, 
exists in the global context. Implementation-wise, this means that it 
has no context pointer whatsoever. This is far more consistent than C, 
C++, Java, ...

  - Gregor Richards



More information about the Digitalmars-d mailing list