When I specify the /Qstd=c++0x command line option for Intel C++ on Windows this is the equivalent of C++11 according to documentation at https://software.intel.com/en-us/cpp-compiler-developer-guide-and-refere.... Yet the __cplusplus value for C++11, which is 201103L, is not set but instead the __cplusplus value for C++03, which is 199711L, is set. This seems rto me a bug in Intel C++ as a programmer can not rely on the level of the C++ standard in his code by checking the __cplusplus value.
↧