'feat:base'

This commit is contained in:
ttttupup committed 2024-04-06 11:45:10 +08:00
1 parent a90d667799
commit c2367968ec
20 files changed
+1084

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#ifndef BASE_NONCOPYABLE_H_
#define BASE_NONCOPYABLE_H_
class NonCopyable {
protected:
NonCopyable() {}
~NonCopyable() {}
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
};
#endif