|
|
|
|
|
by htfy96
217 days ago
|
|
Correct. As someone who maintain a 16-year-old C++ code base with new features added every day, The status quo is the best incremental improvement over deep copy semantics. There are better choices if everything is built from scratch, but changing wheels from a running car isn't easy. |
|
See also:
* https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n13... move designs
* https://www.foonathan.net/2017/09/destructive-move/