static this () executed multiple times

Martin Drasar drasar at ics.muni.cz
Mon Sep 30 08:54:53 PDT 2013


Hi,

I have a module level static this() that I thought should be executed
only once per pogram run. However, in my case it is executed 13 times.

Question is - is this a normal behavior that I should work with or is
there something wrong going on?

Thanks,
Martin


More information about the Digitalmars-d-learn mailing list