阅读背景:

使用“Uncopyable”类时,会消除GCC警告

来源:互联网 

I have several classes that I don't want to be copyable, some of these classes have pointer data members. To make these classes uncopyable I privately inherit the following class template:I have several classes that I don't want to be




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

分享到: