赋值操作符应该实现为带一个参数的非静态成员函数。
An assignment operator shall be implemented by a non-static member function with exactly one parameter.
讨论和示例程序都只限于非静态数据成员和虚函数。
The discussion and the sample program are limited to non-static data members and virtual functions.
讨论和示例程序都只限于非静态数据成员和虚函数。
The discussion and the sample program are limited to non-static data members and virtual functions.
应用推荐