c ++ 11 moves move semantics Semantic

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

Guess you like

Origin www.cnblogs.com/tlz888/p/11262647.html