拷贝构造函数 | C++
本章覆盖:copy constructor;implicit copy constructor;user-defined copy constructor;shallow copy;deep copy;copy from const reference;resource owning type;copy semantics;copy elision 与实际调用次数;不因为“打印日志没看到拷贝”就误解语言语义。
本章知识点
- copy constructor
- implicit copy constructor
- user-defined copy constructor
- shallow copy
- deep copy
- copy from const reference
- resource owning type
- copy semantics
- copy elision 与实际调用次数
- 不因为“打印日志没看到拷贝”就误解语言语义