diff options
author | crupest <crupest@outlook.com> | 2020-10-08 14:11:44 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-08 14:11:44 +0800 |
commit | a1f950e2b3b2268b267e647205b14b59c15f8ee1 (patch) | |
tree | 914faf4cf39bdd687203b28dad6bffb2c6a83649 /include/cru/common/Base.hpp | |
parent | 937b16dff40b6eba68d6bc13162f838c8432f43b (diff) | |
download | cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.tar.gz cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.tar.bz2 cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.zip |
...
Diffstat (limited to 'include/cru/common/Base.hpp')
-rw-r--r-- | include/cru/common/Base.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cru/common/Base.hpp b/include/cru/common/Base.hpp index 93d6f9a6..a5a9421d 100644 --- a/include/cru/common/Base.hpp +++ b/include/cru/common/Base.hpp @@ -7,6 +7,9 @@ #define CRU_UNUSED(entity) static_cast<void>(entity); +#define CRU__CONCAT(a, b) a##b +#define CRU_MAKE_UNICODE_LITERAL(str) CRU__CONCAT(u, #str) + #define CRU_DEFAULT_COPY(classname) \ classname(const classname&) = default; \ classname& operator=(const classname&) = default; |