C++中怎么实现静态代码块的功能?类似于java中的static {//}
class A { public: A() { // write your code here... } }; static A a;