struct inheritance need?

Derek Parnell derek at psych.ward
Thu Dec 18 12:27:05 PST 2008


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.

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell


More information about the Digitalmars-d-learn mailing list