Ray's playground

 

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

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.

posted on 2009-12-26 12:09  Ray Z  阅读(209)  评论(0)    收藏  举报

导航