 |
DATAKIT API
V2025.2
|
|
Go to the documentation of this file. 1 #ifndef DTK_COMPILER_CLANG_H
2 #define DTK_COMPILER_CLANG_H
5 This File shouldn
't be used with this compiler !!!'
12 #ifdef AF51BDA7E49648f8AB95949F4CA52EF8
14 #define DTK_CDECL __cdecl
15 #define DTK_STDCALL __stdcall
20 #if !__has_feature(cxx_static_assert)
21 #define DTK_NO_CXX11_STATIC_ASSERT
24 #if !__has_feature(cxx_nullptr)
25 # define DTK_NO_CXX11_NULLPTR
28 #if !__has_feature(cxx_decltype)
29 # define DTK_NO_CXX11_DECLTYPE
32 #if !__has_feature(cxx_variadic_templates)
33 # define DTK_NO_CXX11_VARIADIC_TEMPLATES
36 #if !__has_feature(cxx_rvalue_references)
37 # define DTK_NO_CXX11_RVALUE_REFERENCES
40 #if !__has_feature(cxx_deleted_functions)
41 # define DTK_NO_CXX11_DELETED_FUNCTIONS
44 #if !__has_feature(cxx_noexcept)
45 # define DTK_NO_CXX11_NOEXCEPT
48 #if !__has_feature(cxx_constexpr)
49 # define DTK_NO_CXX11_CONSTEXPR
52 #if !__has_feature(cxx_explicit_conversions)
53 # define DTK_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
57 #if !__has_feature(__cxx_generic_lambdas__) || !__has_feature(__cxx_relaxed_constexpr__)
58 # define DTK_NO_CXX14_CONSTEXPR
64 #if defined(_MSC_VER) || !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
65 # define DTK_NO_CXX11_CHAR16_T
66 # define DTK_NO_CXX11_CHAR32_T
69 #if defined(DTK_CLANG) && defined(__has_feature)
70 # if (!defined(__GLIBCXX__) || (__GLIBCXX__ >= 20080306 && __GLIBCXX__ != 20080519)) && __has_feature(is_empty)
71 # define DTK_MOVE_IS_EMPTY(T) __is_empty(T)
73 # if __has_feature(is_union)
74 # define DTK_MOVE_IS_UNION(T) __is_union(T)
76 # if __has_feature(is_enum)
77 # define DTK_MOVE_IS_ENUM(T) __is_enum(T)
82 #define DTK_HAS_LONG_LONG