c++ 11 之std::move, Rvalue Reference

 

 

Recently used this feature, eg. Std :: vector <std :: string> elements = std :: move (func ()); func () function returns the type std :: vector <std :: string>.

 


<Effective modern C ++> chapter 5. (Comprehensive understanding)

<C ++ concurrency in action, second edition>, Appendix.A.1 (can refer to rvalue, intuitive understanding of the use of move)

 

 

Published 374 original articles · 95 praises · 260,000+ views

Guess you like

Origin blog.csdn.net/qq_35865125/article/details/105178868