/** \class SkNoncopyable SkNoncopyable is the base class for objects that may do not want to be copied. It hides its copy-constructor and its assignment-operator.赋值操作符 */ class SK_API SkNoncopyable { public: SkNoncopyable() {} private: SkNoncopyable(const SkNoncopyable&); SkNoncopyable& operator=(const SkNoncopyable&); };
以SkNoncopyable为基类的对象 不能被拷贝? (may do not want?)
这个类隐藏了它的 拷贝构造函数 和 赋值操作符。也就是拷贝构造函数和赋值操作符为private成员。
SkNoncopyable
∟AutoValidate
∟SkAutoCanvasRestore
∟SkAutoDescriptor
∟SkAutoMutexAcquire
∟SkAutoFree
∟SkAutoPictureRecord
∟SkAutoRestoreBounder
∟SkAutoSTArray
∟SkAutoTArray
∟SkAutoTCallVProc
∟SkAutoTDelete
∟SkAutoTDeleteArray
∟SkAutoTMalloc
∟SkAutoTUnref
∟SkBitmapCache
∟SkBitmap::MipMap
∟SkChunkAlloc
∟SkDeque
∟SkDescriptor
∟SkPathMeasure
∟SkReader32
∟SkRefCnt
∟SkRBuffer
∟SkRefDict
∟SkTScopedPtr
∟SkTDStack
∟SkTDict
∟SkWStream
∟SkWBuffer
∟SkWriter32
ezhong的博客园:http://www.cnblogs.com/ezhong/
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ezhong的博客签名-------------------------------------
以上内容来自ezhong的博客园,作者:ezhong
ezhong的博客园: http://www.cnblogs.com/ezhong
感谢您的阅读。感谢您的分享。