diff options
Diffstat (limited to 'CompilerKit')
| -rw-r--r-- | CompilerKit/Compiler.hpp | 36 |
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 |
