yyyyye class A { const int n = 3; static int t; public: A(int a = n) { cout << a <<endl; } void invoke(int a = t) { cout << a << endl; } }; int A::t = 4; int main() { A a; a.invoke(); return 0; } 上述代码的结果是什么?
Koarz ce The memberconst int n of class A, it construct after than a = n, so A a; execute A(int a = n) the compiler dont know what is n