您的位置:首页 > 编程语言 > C语言/C++

Item 6: Explicitly disallow the use of compiler-generated functions you do not want(Effective C++)

2009-12-26 12:09 495 查看
To disallow functionality automatically provided by compilers, declare the
corresponding member functions private and give no implementations.
Using a base class like Uncopyable is one way to do this.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐