struct inheritance need?

Weed resume755 at mail.ru
Thu Dec 18 02:05:46 PST 2008


Kagamin пишет:
> Weed Wrote:
> 
>>> Global variables are static members of module, wich is similar to
>>> class and also has static constructor.
>> So what?
> 
> So your problem is solved.

If everything was so simple! :)

Once again: the static constructor of class NOT constructs an object. He 
just fills the static variables of class. These variables are common to 
all objects of class.


More information about the Digitalmars-d-learn mailing list