struct inheritance need?
Weed
resume755 at mail.ru
Wed Dec 17 01:51:45 PST 2008
Kagamin пишет:
> 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.
There does not need a static initialization of static members of the
class. There must be able to create objects of classes at compile time.
More information about the Digitalmars-d-learn
mailing list