summaryrefslogtreecommitdiffhomepage
path: root/Private/CompilerKit/CompilerKit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'Private/CompilerKit/CompilerKit.hpp')
-rw-r--r--Private/CompilerKit/CompilerKit.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/Private/CompilerKit/CompilerKit.hpp b/Private/CompilerKit/CompilerKit.hpp
new file mode 100644
index 00000000..420faa90
--- /dev/null
+++ b/Private/CompilerKit/CompilerKit.hpp
@@ -0,0 +1,36 @@
+/*
+ * ========================================================
+ *
+ * HCore
+ * Copyright 2024 Mahrouss Logic, all rights reserved.
+ *
+ * ========================================================
+ */
+
+#ifndef _INC_CL_HPP
+#define _INC_CL_HPP
+
+#include <NewKit/Defines.hpp>
+
+#define HCORE_COPY_DELETE(KLASS) \
+ KLASS &operator=(const KLASS &) = delete; \
+ KLASS(const KLASS &) = delete;
+
+
+#define HCORE_COPY_DEFAULT(KLASS) \
+ KLASS &operator=(const KLASS &) = default; \
+ KLASS(const KLASS &) = default;
+
+
+#define HCORE_MOVE_DELETE(KLASS) \
+ KLASS &operator=(KLASS &&) = delete; \
+ KLASS(KLASS &&) = delete;
+
+
+#define HCORE_MOVE_DEFAULT(KLASS) \
+ KLASS &operator=(KLASS &&) = default; \
+ KLASS(KLASS &&) = default;
+
+
+
+#endif /* ifndef _INC_CL_HPP */