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 :)

Reply via email to