fix CONCATENATE
This commit is contained in:
@@ -38,7 +38,7 @@
|
|||||||
#define WRAP_TEMPLATE_CONSTANT(...) ([] { using U = union { static constexpr auto GetValue() { return __VA_ARGS__; } }; return U{}; }())
|
#define WRAP_TEMPLATE_CONSTANT(...) ([] { using U = union { static constexpr auto GetValue() { return __VA_ARGS__; } }; return U{}; }())
|
||||||
#define UNWRAP_TEMPLATE_CONSTANT(tpnm) (tpnm::GetValue())
|
#define UNWRAP_TEMPLATE_CONSTANT(tpnm) (tpnm::GetValue())
|
||||||
|
|
||||||
#define CONCATENATE_IMPL(S1, s2) s1##s2
|
#define CONCATENATE_IMPL(s1, s2) s1##s2
|
||||||
#define CONCATENATE(s1, s2) CONCATENATE_IMPL(s1, s2)
|
#define CONCATENATE(s1, s2) CONCATENATE_IMPL(s1, s2)
|
||||||
|
|
||||||
#define BITSIZEOF(x) (sizeof(x) * CHAR_BIT)
|
#define BITSIZEOF(x) (sizeof(x) * CHAR_BIT)
|
||||||
|
|||||||
Reference in New Issue
Block a user