class C { public: C(int){} }; void Test( /*const*/ C& ) //不加const为什么Test(2)编译不过去。 { } int _tmain(int argc, _TCHAR* argv[]) { Test(2); return 0; }
64,637
社区成员
250,559
社区内容
加载中
试试用AI创作助手写篇文章吧