How the move semantic work for make_unique?

后端 未结 0 1619
闹比i
闹比i 2020-12-17 14:52

In the code:accounts.push_back(make_unique("James",1000));I know this is unamed temporary Checking_Account object and will move to vector.

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