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))) 45 #ifndef CLI11_USE_STATIC_RTTI 46 #if(defined(_HAS_STATIC_RTTI) && _HAS_STATIC_RTTI) 47 #define CLI11_USE_STATIC_RTTI 1 48 #elif defined(__cpp_rtti) 49 #if(defined(_CPPRTTI) && _CPPRTTI == 0) 50 #define CLI11_USE_STATIC_RTTI 1 52 #define CLI11_USE_STATIC_RTTI 0 54 #elif(defined(__GCC_RTTI) && __GXX_RTTI) 55 #define CLI11_USE_STATIC_RTTI 0 57 #define CLI11_USE_STATIC_RTTI 1