标签: c++ constructor
class X { public: X(int ii = 0) : i(ii) { j = i; // j can't be accessed by non-static methods }
: i(ii)是什么意思?更准确地说,这两个点。
: i(ii)