阅读背景:

我可以禁用std::vector的复制构造函数吗?

来源:互联网 

I'm writing code with a lot of STL vectors in it. I think I've structured it so that it's all references and move constructors, but I'd like an automated way to be sure. Is there any way to get a warning or error whenever the copy constructor gets invoked?I'm writing code with a lot of STL vectors in i




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

分享到: