i've been searching for this quite some time without much luck. In VC++ there is a preprocessor macro _HAS_CPP0X, similarly GCC has __GXX_EXPERIMENTAL_CXX0X__ defined when the c++0x feature set is enabled.
Now the big question. Is there some way to find out whether -std=c++0x or /Qstd=c++0x was specified and the availiable c++0x feature set was enabled from inside the code?
The reason i am asking is, because i'd like to implement cross plattform move semantics. It would be even better to have safe access to ICC's rvalue ref capabilities.