struct inheritance need?
    Derek Parnell 
    derek at psych.ward
       
    Fri Dec 19 07:05:01 PST 2008
    
    
  
On Fri, 19 Dec 2008 04:07:40 -0500, Kagamin wrote:
> Derek Parnell Wrote:
> 
>> A static constructor (also known as the Module constructor) executes at
>> program run-time and not at program compile-time.
> 
> So do C++ static object constructors. Though C++ has syntax sugar, which helps writing declaration and initialization at the same place.
That's nice I suppose, but I don't think that this is what Weed is talking
about. I think he wants to have some objects constructed at compile-time. 
-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell
    
    
More information about the Digitalmars-d-learn
mailing list