diff options
Diffstat (limited to 'Headers/CompilerKit.hpp')
| -rw-r--r-- | Headers/CompilerKit.hpp | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/Headers/CompilerKit.hpp b/Headers/CompilerKit.hpp index 447aae8..9e37666 100644 --- a/Headers/CompilerKit.hpp +++ b/Headers/CompilerKit.hpp @@ -9,27 +9,25 @@ #ifndef _CK_CL_HPP #define _CK_CL_HPP -#define MPCC_COPY_DELETE(KLASS) \ - KLASS &operator=(const KLASS &) = delete; \ - KLASS(const KLASS &) = delete; +#define MPCC_COPY_DELETE(KLASS) \ + KLASS& operator=(const KLASS&) = delete; \ + KLASS(const KLASS&) = delete; -#define MPCC_COPY_DEFAULT(KLASS) \ - KLASS &operator=(const KLASS &) = default; \ - KLASS(const KLASS &) = default; - -#define MPCC_MOVE_DELETE(KLASS) \ - KLASS &operator=(KLASS &&) = delete; \ - KLASS(KLASS &&) = delete; - -#define MPCC_MOVE_DEFAULT(KLASS) \ - KLASS &operator=(KLASS &&) = default; \ - KLASS(KLASS &&) = default; +#define MPCC_COPY_DEFAULT(KLASS) \ + KLASS& operator=(const KLASS&) = default; \ + KLASS(const KLASS&) = default; +#define MPCC_MOVE_DELETE(KLASS) \ + KLASS& operator=(KLASS&&) = delete; \ + KLASS(KLASS&&) = delete; +#define MPCC_MOVE_DEFAULT(KLASS) \ + KLASS& operator=(KLASS&&) = default; \ + KLASS(KLASS&&) = default; /// @note xxxx is the error placeholder, in hexadecimal. #define MPCC_ERROR_PREFIX_CXX "CXXxxxx" -#define MPCC_ERROR_PREFIX_CL "CLxxxx" +#define MPCC_ERROR_PREFIX_CL "CLxxxx" #define MPCC_ERROR_PREFIX_ASM "ASMxxxx" #endif /* ifndef _CK_CL_HPP */ |
