noncopyable.h
来自「c语言编写的xml解析器可以方便的遍历插入删除节点等操作的」· C头文件 代码 · 共 36 行
H
36 行
/* noncopyable.h * libxml++ and this file are * copyright (C) 2000 by The libxml++ Development Team, and * are covered by the GNU Lesser General Public License, which should be * included with libxml++ as the file COPYING. */#ifndef __LIBXMLPP_NONCOPYABLE_H#define __LIBXMLPP_NONCOPYABLE_Hnamespace xmlpp{/** * Herited by classes which cannot be copied. */class NonCopyable{protected: NonCopyable(); virtual ~NonCopyable();private: //These are not-implemented. //They are just here so we can declare them as private //so that this, and any derived class, do not have //copy constructors. NonCopyable(const NonCopyable&); NonCopyable& operator=(const NonCopyable&);};} // namespace xmlpp#endif //__LIBXMLPP_NONCOPYABLE_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?