Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting C++0x mode on Intel C++?

Does Intel C++ predefine some macro when compiling with Qstd=c++0x? Something like __GXX_EXPERIMENTAL_CXX0X__ in GCC? __cplusplus is still 199711.

Any way to detect C++0x compilation?

like image 268
uj2 Avatar asked Oct 13 '22 23:10

uj2


1 Answers

The Intel documentation indicates that it does define __GXX_EXPERIMENTAL_CXX0X__ on Linux, but does not define any macro on Windows.

like image 93
James McNellis Avatar answered Nov 13 '22 16:11

James McNellis