拷贝构造函数的参数为什么是&类型(避免造成循环调用)

转载自:https://www.cnblogs.com/this-543273659/archive/2011/09/18/2180575.html

1.人为的规定
2.避免造成循环调用(循环调用拷贝构造函数)

猜你喜欢

转载自blog.csdn.net/SwordArcher/article/details/115859723