struct inheritance need?

Kagamin spam at here.lot
Sun Dec 21 09:04:42 PST 2008


Sergey Gromov Wrote:

> C++ static object constructors execute at run time except for trivial
> cases.

Although I think it's not guaranteed to work this way and compiler decides when to execute constructor. So code should be ready for run-time evaluation. And as code evolves those constructors can switch back and forth between ct and rt evaluation.

ps I know a C++ programmer, he wanted to control manually, in what order static object constructors are called :)


More information about the Digitalmars-d-learn mailing list