![Hands-On High Performance Programming with Qt 5](https://wfqqreader-1252317822.image.myqcloud.com/cover/949/36698949/b_36698949.jpg)
上QQ阅读APP看书,第一时间看更新
Temporaries
The old C++ was haunted by temporaries—intermediate objects that were created by a compiler only to serve as sources of data and were immediately discarded, eating away at performance. Temporaries can emerge in two places:
- When returning data by value from a function
- When converting from one class into another while passing a parameter to a function