Move constructor not called when constructing object in function parameter list

后端 未结 0 1908
刺人心
刺人心 2021-01-27 04:08

I have the following code to test the move constructor in C++. The class MovableArray is designed using the copy and swap idiom. I want to test that move semantics

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