order of static constructor execution

Walter Bright newshound1 at digitalmars.com
Fri Mar 12 13:05:01 PST 2010


Don wrote:
> If that's true, then perhaps a more restricted solution is better.
> Eg, use Walter's proposal ONLY if the static initializer is mixed in.

I should note that all static constructors in a module are combined into 
one function. So, the mixin static initializers are combined with any 
other static initializers.



More information about the Digitalmars-d mailing list