不然你怎么使用返回指令创建并返回一个对象而不使用复制构造函数?
How else could you use that return instruction to create and return an object and yet not use the copy constructor?
具有指针成员且使用默认合成复制构造函数的类具有普通指针的所有缺陷。
Classes that have pointer members and use default synthesized copy control have all the pitfalls of ordinary Pointers.
应用推荐