What is the rationale behind copy elision in C++?

前端 未结 0 1554
清歌不尽
清歌不尽 2020-11-30 05:11

What is the reason the C++ standard allows(requires) compilers to optimize away calls to copy constructor(in certain cases), even though it might contain observable side eff

相关标签:
回答
  • 消灭零回复
提交回复
热议问题