Go to the documentation of this file.
12 #if !(defined(_MSC_VER) && __cplusplus == 199711L) && !defined(__INTEL_COMPILER)
13 #if __cplusplus >= 201402L
15 #if __cplusplus >= 201703L
17 #if __cplusplus > 201703L
22 #elif defined(_MSC_VER) && __cplusplus == 199711L
25 #if _MSVC_LANG >= 201402L
27 #if _MSVC_LANG > 201402L && _MSC_VER >= 1910
29 #if __MSVC_LANG > 201703L && _MSC_VER >= 1910
36 #if defined(CLI11_CPP14)
37 #define CLI11_DEPRECATED(reason) [[deprecated(reason)]]
38 #elif defined(_MSC_VER)
39 #define CLI11_DEPRECATED(reason) __declspec(deprecated(reason))
41 #define CLI11_DEPRECATED(reason) __attribute__((deprecated(reason)))