I installed the latest version of Intel C++ Compiler v12.1.2 on Arch Linux 3.2.1. When I used icpc to compile my C++ file
icpc -O3 -DNDEBUG -std=gnu++0x -o o
Check here. It seems that C++0x is not fully supported
I had to fight my way through this, but a quick solution seems to be:
icpc -gcc-name=gcc-4.5 -std=c++0x
The problem is that Intel compilers do not support all the C++0x features that GNU compilers do starting from version 4.6. This causes incompatibilities with GNU libstdc++ headers since at present all the C++0x features are protected by a unique macro __GXX_EXPERIMENTAL_CXX0X__
and cannot be enabled or disabled singularly.