C++ std libraries


I want to use the std::mutex from the libc++ library (LLVM C++ standard library with C++11 support), instead of the default libstdc++ (GNU C++ standard libary).

However, when I use libc++ instead of libstdc++, I am missing the RB Tree (and perhaps more standard functions).

Is there any way to fix this, or should I find the std::mutex equivalant in libstdc++ to port my mutex code?