struct inheritance need?

Kagamin spam at here.lot
Wed Dec 17 01:33:38 PST 2008


Weed Wrote:

> I agree.
> In my case I chose to structure rather than a class because it can be 
> initialized at compile time.
> 
> But now I thing must be allowed to deploy class in the default data 
> segment. And add the possibility of creating a object of class at 
> compile time.

If you want to use full blown OOP, class is your choise. There are static constructors for static initialization.


More information about the Digitalmars-d-learn mailing list