summaryrefslogtreecommitdiffhomepage
path: root/CompilerKit/Compiler.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2023-12-30 23:39:37 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2023-12-30 23:39:37 +0100
commit263915832993dd12beee10e204f9ebcc6c786ed2 (patch)
tree862e51208a99c35746e574a76564a4532b3a4a49 /CompilerKit/Compiler.hpp
Meta: initial commit of WestCo optimized toolchain.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerKit/Compiler.hpp')
-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 0000000..fc9ca23
--- /dev/null
+++ b/CompilerKit/Compiler.hpp
@@ -0,0 +1,36 @@
+/*
+ * ========================================================
+ *
+ * C++Kit
+ * Copyright WestCo, 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