implicitly shared classes

来源:互联网 发布:照片修复软件免费版 编辑:程序博客网 时间:2024/06/08 12:44

http://hi.baidu.com/onlywater/blog/item/dea48f452dd34a3086947376.html

 

Warning: Do not copy an implicitly shared container (QMap, QVector, etc.) while you are iterating over it using an non-const STL-style iterator.

警告:当你使用一个非常量STL风格的迭代器在隐式共享容器上进行迭代时,不要复制这个隐式共享的容器(QMap, QVector, 等等)

 

why?

原创粉丝点击