summaryrefslogtreecommitdiffhomepage
path: root/CompilerKit
diff options
context:
space:
mode:
Diffstat (limited to 'CompilerKit')
-rw-r--r--CompilerKit/Compiler.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/CompilerKit/Compiler.hpp b/CompilerKit/Compiler.hpp
new file mode 100644
index 00000000..39f8824e
--- /dev/null
+++ b/CompilerKit/Compiler.hpp
@@ -0,0 +1,36 @@
+/*
+ * ========================================================
+ *
+ * hCore
+ * Copyright 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 */