Initial commit

This commit is contained in:
ktkk 2025-10-15 11:30:58 +00:00
commit ef40bd03c5
14 changed files with 276 additions and 0 deletions

9
include/Noncopyable.h Executable file
View file

@ -0,0 +1,9 @@
#define MAKE_NONCOPYABLE(c) \
private: \
c(c const&) = delete; \
c& operator=(c const&) = delete
#define MAKE_NONMOVABLE(c) \
private: \
c(c&&) = delete; \
c& operator=(c&&) = delete