阅读背景:

为什么std :: vector需要移动构造函数用于其元素?

来源:互联网 

C++98 stated that std::vector elements should have copy-constructors. In C++11 that's no longer the case. Instead, the elements must have move-constructors.C++98 stated that std::vector elements should h




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: