Hi, I use the Apple LLVM 3.0 compiler and the libc++ library, including C++11 features.

Several C++11 features work fine (such as <unordered_map> or <unique_ptr>), but I have problems with . I tried to compile this code:


int main (int argc, const char * argv[]) {

std::tuple<int, int> a;

return 0;


which gives an error " no member named ‘tuple’ in namespace ‘std’ ". What is really weird is the fact that it DOES know about the helper classes “std::tuple_size” and “std::tuple_element”.

any help appreciated.


<tuple> currently requires -std=c++0x (and -stdlib=libc++).


<tuple> currently requires -std=c++0x (and -stdlib=libc++).