c++11 移动语义move semantics

performance, expensive object copies

move semantics, temporary objects

implemented with rvalue references。

References

[1] https://www.cprogramming.com/c++11/rvalue-references-and-move-semantics-in-c++11.html

原文地址:https://www.cnblogs.com/tlz888/p/11262647.html