Does Intel C ++ provide a predefined macro when compiled with Qstd=c++0x? Something like __GXX_EXPERIMENTAL_CXX0X__in GCC? __cplusplusstill 199711.
Qstd=c++0x
__GXX_EXPERIMENTAL_CXX0X__
__cplusplus
199711
Any way to detect C ++ 0x compilation?
Intel documentation indicates that it defines __GXX_EXPERIMENTAL_CXX0X__on Linux, but does not define any macro on Windows.
In the current (2013-08-06) Intel Composer XE 2013 Update 5 for Windows, the list of preprocessor definitions includes
#define __INTEL_CXX11_MODE__ 1
if and only if C ++ 0x mode is enabled.