blob: 9abe154a8480b01f49ba90f63f0e07c39eadb646 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/* -------------------------------------------
Copyright Amlal El Mahrouss
------------------------------------------- */
//! provide support for CompilerKit.hpp header.
#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_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_ASM "ASMxxxx"
#endif /* ifndef _CK_CL_HPP */
|