![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file. 1 #ifndef DTK_COMPILER_MSVC_H
2 #define DTK_COMPILER_MSVC_H
5 #define DTK_MSVC _MSC_VER
7 #ifndef _NATIVE_WCHAR_T_DEFINED
8 # define DTK_NO_INTRINSIC_WCHAR_T
12 #ifdef AF51BDA7E49648f8AB95949F4CA52EF8
14 #define DTK_CDECL __cdecl
15 #define DTK_STDCALL __stdcall
26 # define DTK_NO_CXX11_STATIC_ASSERT
27 # define DTK_NO_CXX11_NULLPTR
28 # define DTK_NO_CXX11_RVALUE_REFERENCES
29 # define DTK_NO_CXX11_DECLTYPE
30 #endif // _MSC_VER < 1600
34 #if _MSC_FULL_VER < 180020827
35 # define DTK_NO_CXX11_VARIADIC_TEMPLATES
36 # define DTK_NO_CXX11_DELETED_FUNCTIONS
37 # define DTK_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
42 #if (_MSC_FULL_VER < 190023026)
43 # define DTK_NO_CXX11_CHAR16_T
44 # define DTK_NO_CXX11_CHAR32_T
45 # define DTK_NO_CXX11_NOEXCEPT
51 #define DTK_NO_CXX11_CONSTEXPR
54 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
55 # define DTK_NO_CXX14_CONSTEXPR
58 #if defined(_MSC_EXTENSIONS) || (_MSC_VER >= 1400)
59 # define DTK_HAS_LONG_LONG
61 # define DTK_NO_LONG_LONG
67 #if _MSC_FULL_VER > 100000000
68 # define DTK_MSVC_FULL_VER _MSC_FULL_VER
70 # define DTK_MSVC_FULL_VER (_MSC_FULL_VER * 10)
73 #if (defined(DTK_MSVC) && defined(DTK_MSVC_FULL_VER) && (DTK_MSVC_FULL_VER >=140050215))
74 # define DTK_MOVE_IS_EMPTY(T) __is_empty(T)
75 # define DTK_MOVE_IS_UNION(T) __is_union(T)
76 # define DTK_MOVE_IS_ENUM(T) __is_enum(T)