 |
DATAKIT API
V2025.2
|
|
Go to the documentation of this file. 1 #ifndef DTK_COMPILER_MSVC_H
2 #define DTK_COMPILER_MSVC_H
5 This File shouldn
't be used with this compiler !!!'
8 #define DTK_MSVC _MSC_VER
10 #ifndef _NATIVE_WCHAR_T_DEFINED
11 # define DTK_NO_INTRINSIC_WCHAR_T
15 #ifdef AF51BDA7E49648f8AB95949F4CA52EF8
17 #define DTK_CDECL __cdecl
18 #define DTK_STDCALL __stdcall
29 # define DTK_NO_CXX11_STATIC_ASSERT
30 # define DTK_NO_CXX11_NULLPTR
31 # define DTK_NO_CXX11_RVALUE_REFERENCES
32 # define DTK_NO_CXX11_DECLTYPE
33 #endif // _MSC_VER < 1600
37 #if _MSC_FULL_VER < 180020827
38 # define DTK_NO_CXX11_VARIADIC_TEMPLATES
39 # define DTK_NO_CXX11_DELETED_FUNCTIONS
40 # define DTK_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
45 #if (_MSC_FULL_VER < 190023026)
46 # define DTK_NO_CXX11_CHAR16_T
47 # define DTK_NO_CXX11_CHAR32_T
48 # define DTK_NO_CXX11_NOEXCEPT
54 #define DTK_NO_CXX11_CONSTEXPR
57 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
58 # define DTK_NO_CXX14_CONSTEXPR
61 #if defined(_MSC_EXTENSIONS) || (_MSC_VER >= 1400)
62 # define DTK_HAS_LONG_LONG
64 # define DTK_NO_LONG_LONG
70 #if _MSC_FULL_VER > 100000000
71 # define DTK_MSVC_FULL_VER _MSC_FULL_VER
73 # define DTK_MSVC_FULL_VER (_MSC_FULL_VER * 10)
76 #if (defined(DTK_MSVC) && defined(DTK_MSVC_FULL_VER) && (DTK_MSVC_FULL_VER >=140050215))
77 # define DTK_MOVE_IS_EMPTY(T) __is_empty(T)
78 # define DTK_MOVE_IS_UNION(T) __is_union(T)
79 # define DTK_MOVE_IS_ENUM(T) __is_enum(T)