Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:44:41

0001 //  (C) Copyright John Maddock 2001-8.
0002 //  (C) Copyright Peter Dimov 2001.
0003 //  (C) Copyright Jens Maurer 2001.
0004 //  (C) Copyright David Abrahams 2002 - 2003.
0005 //  (C) Copyright Aleksey Gurtovoy 2002 - 2003.
0006 //  (C) Copyright Guillaume Melquiond 2002 - 2003.
0007 //  (C) Copyright Beman Dawes 2003.
0008 //  (C) Copyright Martin Wille 2003.
0009 //  Use, modification and distribution are subject to the
0010 //  Boost Software License, Version 1.0. (See accompanying file
0011 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0012 
0013 //  See http://www.boost.org for most recent version.
0014 
0015 //  Intel compiler setup:
0016 
0017 #if defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) && (defined(_MSC_VER) || defined(__GNUC__))
0018 
0019 #ifdef _MSC_VER
0020 
0021 #include <boost/config/compiler/visualc.hpp>
0022 
0023 #undef BOOST_MSVC
0024 #undef BOOST_MSVC_FULL_VER
0025 
0026 #if (__INTEL_COMPILER >= 1500) && (_MSC_VER >= 1900)
0027 //
0028 // These appear to be supported, even though VC++ may not support them:
0029 //
0030 #define BOOST_HAS_EXPM1
0031 #define BOOST_HAS_LOG1P
0032 #undef BOOST_NO_CXX14_BINARY_LITERALS
0033 // This one may be a little risky to enable??
0034 #undef BOOST_NO_SFINAE_EXPR
0035 
0036 #endif
0037 
0038 #if (__INTEL_COMPILER <= 1600) && !defined(BOOST_NO_CXX14_VARIABLE_TEMPLATES)
0039 #  define BOOST_NO_CXX14_VARIABLE_TEMPLATES
0040 #endif
0041 
0042 #else // defined(_MSC_VER)
0043 
0044 #include <boost/config/compiler/gcc.hpp>
0045 
0046 #undef BOOST_GCC_VERSION
0047 #undef BOOST_GCC_CXX11
0048 #undef BOOST_GCC
0049 #undef BOOST_FALLTHROUGH
0050 
0051 // Broken in all versions up to 17 (newer versions not tested)
0052 #if (__INTEL_COMPILER <= 1700) && !defined(BOOST_NO_CXX14_CONSTEXPR)
0053 #  define BOOST_NO_CXX14_CONSTEXPR
0054 #endif
0055 
0056 #if (__INTEL_COMPILER >= 1800) && (__cplusplus >= 201703)
0057 #  define BOOST_FALLTHROUGH [[fallthrough]]
0058 #endif
0059 
0060 #endif // defined(_MSC_VER)
0061 
0062 #undef BOOST_COMPILER
0063 
0064 #if defined(__INTEL_COMPILER)
0065 #if __INTEL_COMPILER == 9999
0066 #  define BOOST_INTEL_CXX_VERSION 1200 // Intel bug in 12.1.
0067 #else
0068 #  define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
0069 #endif
0070 #elif defined(__ICL)
0071 #  define BOOST_INTEL_CXX_VERSION __ICL
0072 #elif defined(__ICC)
0073 #  define BOOST_INTEL_CXX_VERSION __ICC
0074 #elif defined(__ECC)
0075 #  define BOOST_INTEL_CXX_VERSION __ECC
0076 #endif
0077 
0078 // Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x'
0079 #if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
0080 #  define BOOST_INTEL_STDCXX0X
0081 #endif
0082 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
0083 #  define BOOST_INTEL_STDCXX0X
0084 #endif
0085 
0086 #ifdef __GNUC__
0087 #  define BOOST_INTEL_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
0088 #endif
0089 
0090 #if !defined(BOOST_COMPILER)
0091 #  if defined(BOOST_INTEL_STDCXX0X)
0092 #    define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
0093 #  else
0094 #    define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
0095 #  endif
0096 #endif
0097 
0098 #define BOOST_INTEL BOOST_INTEL_CXX_VERSION
0099 
0100 #if defined(_WIN32) || defined(_WIN64)
0101 #  define BOOST_INTEL_WIN BOOST_INTEL
0102 #else
0103 #  define BOOST_INTEL_LINUX BOOST_INTEL
0104 #endif
0105 
0106 #else // defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) && (defined(_MSC_VER) || defined(__GNUC__))
0107 
0108 #include <boost/config/compiler/common_edg.hpp>
0109 
0110 #if defined(__INTEL_COMPILER)
0111 #if __INTEL_COMPILER == 9999
0112 #  define BOOST_INTEL_CXX_VERSION 1200 // Intel bug in 12.1.
0113 #else
0114 #  define BOOST_INTEL_CXX_VERSION __INTEL_COMPILER
0115 #endif
0116 #elif defined(__ICL)
0117 #  define BOOST_INTEL_CXX_VERSION __ICL
0118 #elif defined(__ICC)
0119 #  define BOOST_INTEL_CXX_VERSION __ICC
0120 #elif defined(__ECC)
0121 #  define BOOST_INTEL_CXX_VERSION __ECC
0122 #endif
0123 
0124 // Flags determined by comparing output of 'icpc -dM -E' with and without '-std=c++0x'
0125 #if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (BOOST_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
0126 #  define BOOST_INTEL_STDCXX0X
0127 #endif
0128 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
0129 #  define BOOST_INTEL_STDCXX0X
0130 #endif
0131 
0132 #ifdef __GNUC__
0133 #  define BOOST_INTEL_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
0134 #endif
0135 
0136 #if !defined(BOOST_COMPILER)
0137 #  if defined(BOOST_INTEL_STDCXX0X)
0138 #    define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
0139 #  else
0140 #    define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
0141 #  endif
0142 #endif
0143 
0144 #define BOOST_INTEL BOOST_INTEL_CXX_VERSION
0145 
0146 #if defined(_WIN32) || defined(_WIN64)
0147 #  define BOOST_INTEL_WIN BOOST_INTEL
0148 #else
0149 #  define BOOST_INTEL_LINUX BOOST_INTEL
0150 #endif
0151 
0152 #if (BOOST_INTEL_CXX_VERSION <= 600)
0153 
0154 #  if defined(_MSC_VER) && (_MSC_VER <= 1300) // added check for <= VC 7 (Peter Dimov)
0155 
0156 // Boost libraries assume strong standard conformance unless otherwise
0157 // indicated by a config macro. As configured by Intel, the EDG front-end
0158 // requires certain compiler options be set to achieve that strong conformance.
0159 // Particularly /Qoption,c,--arg_dep_lookup (reported by Kirk Klobe & Thomas Witt)
0160 // and /Zc:wchar_t,forScope. See boost-root/tools/build/intel-win32-tools.jam for
0161 // details as they apply to particular versions of the compiler. When the
0162 // compiler does not predefine a macro indicating if an option has been set,
0163 // this config file simply assumes the option has been set.
0164 // Thus BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP will not be defined, even if
0165 // the compiler option is not enabled.
0166 
0167 #     define BOOST_NO_SWPRINTF
0168 #  endif
0169 
0170 // Void returns, 64 bit integrals don't work when emulating VC 6 (Peter Dimov)
0171 
0172 #  if defined(_MSC_VER) && (_MSC_VER <= 1200)
0173 #     define BOOST_NO_VOID_RETURNS
0174 #     define BOOST_NO_INTEGRAL_INT64_T
0175 #  endif
0176 
0177 #endif
0178 
0179 #if (BOOST_INTEL_CXX_VERSION <= 710) && defined(_WIN32)
0180 #  define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
0181 #endif
0182 
0183 // See http://aspn.activestate.com/ASPN/Mail/Message/boost/1614864
0184 #if BOOST_INTEL_CXX_VERSION < 600
0185 #  define BOOST_NO_INTRINSIC_WCHAR_T
0186 #else
0187 // We should test the macro _WCHAR_T_DEFINED to check if the compiler
0188 // supports wchar_t natively. *BUT* there is a problem here: the standard
0189 // headers define this macro if they typedef wchar_t. Anyway, we're lucky
0190 // because they define it without a value, while Intel C++ defines it
0191 // to 1. So we can check its value to see if the macro was defined natively
0192 // or not.
0193 // Under UNIX, the situation is exactly the same, but the macro _WCHAR_T
0194 // is used instead.
0195 #  if ((_WCHAR_T_DEFINED + 0) == 0) && ((_WCHAR_T + 0) == 0)
0196 #    define BOOST_NO_INTRINSIC_WCHAR_T
0197 #  endif
0198 #endif
0199 
0200 #if defined(__GNUC__) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL)
0201 //
0202 // Figure out when Intel is emulating this gcc bug
0203 // (All Intel versions prior to 9.0.26, and versions
0204 // later than that if they are set up to emulate gcc 3.2
0205 // or earlier):
0206 //
0207 #  if ((__GNUC__ == 3) && (__GNUC_MINOR__ <= 2)) || (BOOST_INTEL < 900) || (__INTEL_COMPILER_BUILD_DATE < 20050912)
0208 #     define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
0209 #  endif
0210 #endif
0211 #if (defined(__GNUC__) && (__GNUC__ < 4)) || (defined(_WIN32) && (BOOST_INTEL_CXX_VERSION <= 1200)) || (BOOST_INTEL_CXX_VERSION <= 1200)
0212 // GCC or VC emulation:
0213 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
0214 #endif
0215 //
0216 // Verify that we have actually got BOOST_NO_INTRINSIC_WCHAR_T
0217 // set correctly, if we don't do this now, we will get errors later
0218 // in type_traits code among other things, getting this correct
0219 // for the Intel compiler is actually remarkably fragile and tricky:
0220 //
0221 #ifdef __cplusplus
0222 #if defined(BOOST_NO_INTRINSIC_WCHAR_T)
0223 #include <cwchar>
0224 template< typename T > struct assert_no_intrinsic_wchar_t;
0225 template<> struct assert_no_intrinsic_wchar_t<wchar_t> { typedef void type; };
0226 // if you see an error here then you need to unset BOOST_NO_INTRINSIC_WCHAR_T
0227 // where it is defined above:
0228 typedef assert_no_intrinsic_wchar_t<unsigned short>::type assert_no_intrinsic_wchar_t_;
0229 #else
0230 template< typename T > struct assert_intrinsic_wchar_t;
0231 template<> struct assert_intrinsic_wchar_t<wchar_t> {};
0232 // if you see an error here then define BOOST_NO_INTRINSIC_WCHAR_T on the command line:
0233 template<> struct assert_intrinsic_wchar_t<unsigned short> {};
0234 #endif
0235 #endif
0236 
0237 #if defined(_MSC_VER) && (_MSC_VER+0 >= 1000)
0238 #  if _MSC_VER >= 1200
0239 #     define BOOST_HAS_MS_INT64
0240 #  endif
0241 #  define BOOST_NO_SWPRINTF
0242 #  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
0243 #elif defined(_WIN32)
0244 #  define BOOST_DISABLE_WIN32
0245 #endif
0246 
0247 // I checked version 6.0 build 020312Z, it implements the NRVO.
0248 // Correct this as you find out which version of the compiler
0249 // implemented the NRVO first.  (Daniel Frey)
0250 #if (BOOST_INTEL_CXX_VERSION >= 600)
0251 #  define BOOST_HAS_NRVO
0252 #endif
0253 
0254 // Branch prediction hints
0255 // I'm not sure 8.0 was the first version to support these builtins,
0256 // update the condition if the version is not accurate. (Andrey Semashev)
0257 #if defined(__GNUC__) && BOOST_INTEL_CXX_VERSION >= 800
0258 #define BOOST_LIKELY(x) __builtin_expect(x, 1)
0259 #define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
0260 #endif
0261 
0262 // RTTI
0263 // __RTTI is the EDG macro
0264 // __INTEL_RTTI__ is the Intel macro
0265 // __GXX_RTTI is the g++ macro
0266 // _CPPRTTI is the MSVC++ macro
0267 #if !defined(__RTTI) && !defined(__INTEL_RTTI__) && !defined(__GXX_RTTI) && !defined(_CPPRTTI)
0268 
0269 #if !defined(BOOST_NO_RTTI)
0270 # define BOOST_NO_RTTI
0271 #endif
0272 
0273 // in MS mode, static typeid works even when RTTI is off
0274 #if !defined(_MSC_VER) && !defined(BOOST_NO_TYPEID)
0275 # define BOOST_NO_TYPEID
0276 #endif
0277 
0278 #endif
0279 
0280 //
0281 // versions check:
0282 // we don't support Intel prior to version 6.0:
0283 #if BOOST_INTEL_CXX_VERSION < 600
0284 #  error "Compiler not supported or configured - please reconfigure"
0285 #endif
0286 
0287 // Intel on MacOS requires
0288 #if defined(__APPLE__) && defined(__INTEL_COMPILER)
0289 #  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
0290 #endif
0291 
0292 // Intel on Altix Itanium
0293 #if defined(__itanium__) && defined(__INTEL_COMPILER)
0294 #  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
0295 #endif
0296 
0297 //
0298 // An attempt to value-initialize a pointer-to-member may trigger an
0299 // internal error on Intel <= 11.1 (last checked version), as was
0300 // reported by John Maddock, Intel support issue 589832, May 2010.
0301 // Moreover, according to test results from Huang-Vista-x86_32_intel,
0302 // intel-vc9-win-11.1 may leave a non-POD array uninitialized, in some
0303 // cases when it should be value-initialized.
0304 // (Niels Dekker, LKEB, May 2010)
0305 // Apparently Intel 12.1 (compiler version number 9999 !!) has the same issue (compiler regression).
0306 #if defined(__INTEL_COMPILER)
0307 #  if (__INTEL_COMPILER <= 1110) || (__INTEL_COMPILER == 9999) || (defined(_WIN32) && (__INTEL_COMPILER < 1600))
0308 #    define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
0309 #  endif
0310 #endif
0311 
0312 //
0313 // Dynamic shared object (DSO) and dynamic-link library (DLL) support
0314 //
0315 #if defined(__GNUC__) && (__GNUC__ >= 4)
0316 #  define BOOST_SYMBOL_EXPORT __attribute__((visibility("default")))
0317 #  define BOOST_SYMBOL_IMPORT
0318 #  define BOOST_SYMBOL_VISIBLE __attribute__((visibility("default")))
0319 #endif
0320 
0321 // Type aliasing hint
0322 #if defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1300)
0323 #  define BOOST_MAY_ALIAS __attribute__((__may_alias__))
0324 #endif
0325 
0326 //
0327 // C++0x features
0328 // For each feature we need to check both the Intel compiler version, 
0329 // and the version of MSVC or GCC that we are emulating.
0330 // See http://software.intel.com/en-us/articles/c0x-features-supported-by-intel-c-compiler/
0331 // for a list of which features were implemented in which Intel releases.
0332 //
0333 #if defined(BOOST_INTEL_STDCXX0X)
0334 // BOOST_NO_CXX11_CONSTEXPR:
0335 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && !defined(_MSC_VER)
0336 // Available in earlier Intel versions, but fail our tests:
0337 #  undef BOOST_NO_CXX11_CONSTEXPR
0338 #endif
0339 // BOOST_NO_CXX11_NULLPTR:
0340 #if (BOOST_INTEL_CXX_VERSION >= 1210) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0341 #  undef BOOST_NO_CXX11_NULLPTR
0342 #endif
0343 // BOOST_NO_CXX11_TEMPLATE_ALIASES
0344 #if (BOOST_INTEL_CXX_VERSION >= 1210) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0345 #  undef BOOST_NO_CXX11_TEMPLATE_ALIASES
0346 #endif
0347 
0348 // BOOST_NO_CXX11_DECLTYPE
0349 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0350 #  undef BOOST_NO_CXX11_DECLTYPE
0351 #endif
0352 
0353 // BOOST_NO_CXX11_DECLTYPE_N3276
0354 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0355 #  undef BOOST_NO_CXX11_DECLTYPE_N3276
0356 #endif
0357 
0358 // BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
0359 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0360 #  undef BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
0361 #endif
0362 
0363 // BOOST_NO_CXX11_RVALUE_REFERENCES
0364 #if (BOOST_INTEL_CXX_VERSION >= 1300) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0365 // This is available from earlier Intel versions, but breaks Filesystem and other libraries:
0366 #  undef BOOST_NO_CXX11_RVALUE_REFERENCES
0367 #endif
0368 
0369 // BOOST_NO_CXX11_STATIC_ASSERT
0370 #if (BOOST_INTEL_CXX_VERSION >= 1110) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40300)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0371 #  undef BOOST_NO_CXX11_STATIC_ASSERT
0372 #endif
0373 
0374 // BOOST_NO_CXX11_VARIADIC_TEMPLATES
0375 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0376 #  undef BOOST_NO_CXX11_VARIADIC_TEMPLATES
0377 #endif
0378 
0379 // BOOST_NO_CXX11_VARIADIC_MACROS
0380 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40200)) && (!defined(_MSC_VER) || (_MSC_VER >= 1400))
0381 #  undef BOOST_NO_CXX11_VARIADIC_MACROS
0382 #endif
0383 
0384 // BOOST_NO_CXX11_AUTO_DECLARATIONS
0385 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0386 #  undef BOOST_NO_CXX11_AUTO_DECLARATIONS
0387 #endif
0388 
0389 // BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
0390 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0391 #  undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
0392 #endif
0393 
0394 // BOOST_NO_CXX11_CHAR16_T
0395 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
0396 #  undef BOOST_NO_CXX11_CHAR16_T
0397 #endif
0398 
0399 // BOOST_NO_CXX11_CHAR32_T
0400 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
0401 #  undef BOOST_NO_CXX11_CHAR32_T
0402 #endif
0403 
0404 // BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
0405 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0406 #  undef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
0407 #endif
0408 
0409 // BOOST_NO_CXX11_DELETED_FUNCTIONS
0410 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0411 #  undef BOOST_NO_CXX11_DELETED_FUNCTIONS
0412 #endif
0413 
0414 // BOOST_NO_CXX11_HDR_INITIALIZER_LIST
0415 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
0416 #  undef BOOST_NO_CXX11_HDR_INITIALIZER_LIST
0417 #endif
0418 
0419 // BOOST_NO_CXX11_SCOPED_ENUMS
0420 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40501)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
0421 // This is available but broken in earlier Intel releases.
0422 #  undef BOOST_NO_CXX11_SCOPED_ENUMS
0423 #endif
0424 
0425 // BOOST_NO_SFINAE_EXPR
0426 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
0427 #  undef BOOST_NO_SFINAE_EXPR
0428 #endif
0429 
0430 // BOOST_NO_CXX11_SFINAE_EXPR
0431 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && !defined(_MSC_VER)
0432 #  undef BOOST_NO_CXX11_SFINAE_EXPR
0433 #endif
0434 
0435 // BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
0436 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0437 // This is available in earlier Intel releases, but breaks Multiprecision:
0438 #  undef BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
0439 #endif
0440 
0441 // BOOST_NO_CXX11_LAMBDAS
0442 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 1600))
0443 #  undef BOOST_NO_CXX11_LAMBDAS
0444 #endif
0445 
0446 // BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
0447 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500))
0448 #  undef BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
0449 #endif
0450 
0451 // BOOST_NO_CXX11_RANGE_BASED_FOR
0452 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
0453 #  undef BOOST_NO_CXX11_RANGE_BASED_FOR
0454 #endif
0455 
0456 // BOOST_NO_CXX11_RAW_LITERALS
0457 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0458 #  undef BOOST_NO_CXX11_RAW_LITERALS
0459 #endif
0460 
0461 // BOOST_NO_CXX11_UNICODE_LITERALS
0462 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40500)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
0463 #  undef BOOST_NO_CXX11_UNICODE_LITERALS
0464 #endif
0465 
0466 // BOOST_NO_CXX11_NOEXCEPT
0467 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
0468 // Available in earlier Intel release, but generates errors when used with 
0469 // conditional exception specifications, for example in multiprecision:
0470 #  undef BOOST_NO_CXX11_NOEXCEPT
0471 #endif
0472 
0473 // BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
0474 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40600)) && (!defined(_MSC_VER) || (_MSC_VER >= 9999))
0475 #  undef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
0476 #endif
0477 
0478 // BOOST_NO_CXX11_USER_DEFINED_LITERALS
0479 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
0480 #  undef BOOST_NO_CXX11_USER_DEFINED_LITERALS
0481 #endif
0482 
0483 // BOOST_NO_CXX11_ALIGNAS
0484 #if (BOOST_INTEL_CXX_VERSION >= 1500) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
0485 #  undef BOOST_NO_CXX11_ALIGNAS
0486 #  undef BOOST_NO_CXX11_ALIGNOF
0487 #endif
0488 
0489 // BOOST_NO_CXX11_TRAILING_RESULT_TYPES
0490 #if (BOOST_INTEL_CXX_VERSION >= 1200) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 180020827))
0491 #  undef BOOST_NO_CXX11_TRAILING_RESULT_TYPES
0492 #endif
0493 
0494 // BOOST_NO_CXX11_INLINE_NAMESPACES
0495 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40400)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
0496 #  undef BOOST_NO_CXX11_INLINE_NAMESPACES
0497 #endif
0498 
0499 // BOOST_NO_CXX11_REF_QUALIFIERS
0500 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40800)) && (!defined(_MSC_VER) || (_MSC_FULL_VER >= 190021730))
0501 #  undef BOOST_NO_CXX11_REF_QUALIFIERS
0502 #endif
0503 
0504 // BOOST_NO_CXX11_FINAL
0505 // BOOST_NO_CXX11_OVERRIDE
0506 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 40700)) && (!defined(_MSC_VER) || (_MSC_VER >= 1700))
0507 #  undef BOOST_NO_CXX11_FINAL
0508 #  undef BOOST_NO_CXX11_OVERRIDE
0509 #endif
0510 
0511 // BOOST_NO_CXX11_UNRESTRICTED_UNION
0512 #if (BOOST_INTEL_CXX_VERSION >= 1400) && (!defined(BOOST_INTEL_GCC_VERSION) || (BOOST_INTEL_GCC_VERSION >= 50100)) && (!defined(_MSC_VER))
0513 #  undef BOOST_NO_CXX11_UNRESTRICTED_UNION
0514 #endif
0515 
0516 #endif // defined(BOOST_INTEL_STDCXX0X)
0517 
0518 //
0519 // Broken in all versions up to 15:
0520 #define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
0521 
0522 #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION <= 1310)
0523 #  define BOOST_NO_CXX11_HDR_FUTURE
0524 #  define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
0525 #endif
0526 
0527 #if defined(BOOST_INTEL_STDCXX0X) && (BOOST_INTEL_CXX_VERSION == 1400)
0528 // A regression in Intel's compiler means that <tuple> seems to be broken in this release as well as <future> :
0529 #  define BOOST_NO_CXX11_HDR_FUTURE
0530 #  define BOOST_NO_CXX11_HDR_TUPLE
0531 #endif
0532 
0533 #if (BOOST_INTEL_CXX_VERSION < 1200)
0534 //
0535 // fenv.h appears not to work with Intel prior to 12.0:
0536 //
0537 #  define BOOST_NO_FENV_H
0538 #endif
0539 
0540 // Intel 13.10 fails to access defaulted functions of a base class declared in private or protected sections,
0541 // producing the following errors:
0542 // error #453: protected function "..." (declared at ...") is not accessible through a "..." pointer or object
0543 #if (BOOST_INTEL_CXX_VERSION <= 1310)
0544 #  define BOOST_NO_CXX11_NON_PUBLIC_DEFAULTED_FUNCTIONS
0545 #endif
0546 
0547 #if defined(_MSC_VER) && (_MSC_VER >= 1600)
0548 #  define BOOST_HAS_STDINT_H
0549 #endif
0550 
0551 #if defined(__CUDACC__)
0552 #  if defined(BOOST_GCC_CXX11)
0553 #    define BOOST_NVCC_CXX11
0554 #  else
0555 #    define BOOST_NVCC_CXX03
0556 #  endif
0557 #endif
0558 
0559 #if defined(__LP64__) && defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1310) && !defined(BOOST_NVCC_CXX03)
0560 #  define BOOST_HAS_INT128
0561 #endif
0562 
0563 #endif // defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 1500) && (defined(_MSC_VER) || defined(__GNUC__))
0564 //
0565 // last known and checked version:
0566 #if (BOOST_INTEL_CXX_VERSION > 1700)
0567 #  if defined(BOOST_ASSERT_CONFIG)
0568 #     error "Boost.Config is older than your compiler - please check for an updated Boost release."
0569 #  elif defined(_MSC_VER)
0570 //
0571 //      We don't emit this warning any more, since we have so few
0572 //      defect macros set anyway (just the one).
0573 //
0574 //#     pragma message("boost: Unknown compiler version - please run the configure tests and report the results")
0575 #  endif
0576 #endif
0577