struct inheritance need?
    Weed 
    resume755 at mail.ru
       
    Thu Dec 18 22:59:27 PST 2008
    
    
  
Derek Parnell пишет:
> On Thu, 18 Dec 2008 07:24:34 -0500, Kagamin wrote:
> 
>> Static constructor can execute any valid D statements including construction of objects.
> 
> A static constructor (also known as the Module constructor) executes at
> program run-time and not at program compile-time. I think Weed wants the
> ability to have the compiler build class objects at compile-time such that
> when a program first starts running, the objects are already fully formed
> in RAM just waiting to be used.
> 
It is exactly
    
    
More information about the Digitalmars-d-learn
mailing list