Xcode 4.3 and C++11 include paths
Howard Hinnant's answer (with corrections) is the correct answer for the command line.
To use the new C++11 standard library inside of Xcode:
- In the Build Settings tab for your project, scroll down to "Apple LLVM Compiler 4.1 - Language"
- Set the setting "C++ Language Dialect" to "C++11 [-std=c++11]"
- Set the setting "C++ Standard Library" to "libc++ (LLVM standard C++ library with C++11 support)"