On Saturday, 21 May 2016 at 13:36:02 UTC, chmike wrote:
    static Info one()
    {
        static auto x = Info(new Obj("I'm one"));
        return x;
    }
    static Info two()
    {
        static auto x = Info(new Obj("I'm two"));
        return x;
    }

FYI those are thread local variables.

Reply via email to