summaryrefslogtreecommitdiffhomepage
path: root/Private/CompilerKit/Compiler.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 09:12:14 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 09:12:14 +0100
commit59a2e775507d01f3ebc8435bf749ab6d3d5b3eeb (patch)
tree2061a6494b2cd14b1109030ba9540685cf60a551 /Private/CompilerKit/Compiler.hpp
parentf1746ae6c3e305f1be21c68a79e01f57d6ec911a (diff)
Breaking changes: Reworked structure of project.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/CompilerKit/Compiler.hpp')
-rw-r--r--Private/CompilerKit/Compiler.hpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/Private/CompilerKit/Compiler.hpp b/Private/CompilerKit/Compiler.hpp
new file mode 100644
index 0000000..810652f
--- /dev/null
+++ b/Private/CompilerKit/Compiler.hpp
@@ -0,0 +1,36 @@
+/*
+ * ========================================================
+ *
+ * MPCC
+ * Copyright 2024, Mahrouss Logic, all rights reserved.
+ *
+ * ========================================================
+ */
+
+//! provide support for Compiler.hpp header.
+
+#ifndef _CK_CL_HPP
+#define _CK_CL_HPP
+
+#define CXXKIT_COPY_DELETE(KLASS) \
+ KLASS &operator=(const KLASS &) = delete; \
+ KLASS(const KLASS &) = delete;
+
+
+#define CXXKIT_COPY_DEFAULT(KLASS) \
+ KLASS &operator=(const KLASS &) = default; \
+ KLASS(const KLASS &) = default;
+
+
+#define CXXKIT_MOVE_DELETE(KLASS) \
+ KLASS &operator=(KLASS &&) = delete; \
+ KLASS(KLASS &&) = delete;
+
+
+#define CXXKIT_MOVE_DEFAULT(KLASS) \
+ KLASS &operator=(KLASS &&) = default; \
+ KLASS(KLASS &&) = default;
+
+
+
+#endif /* ifndef _CK_CL_HPP */ \ No newline at end of file