A& instA1() { static A a; a.init(); return a; } A& instA2() { static A a = [](){ A a = new A(); a.init(); retur