拷贝赋值运算符 | C++
本章覆盖:copy assignment;self-assignment;release old resource;acquire new state;copy-and-swap 思想;strong exception guarantee 的连接;return `*this`;implicit copy assignment;deleted copy assignment;assignment 与 construction 是不同生命周期操作。
本章知识点
- copy assignment
- self-assignment
- release old resource
- acquire new state
- copy-and-swap 思想
- strong exception guarantee 的连接
- return
*this - implicit copy assignment
- deleted copy assignment
- assignment 与 construction 是不同生命周期操作