From af3473404e13e758ac482a1fd59d7dad2bb0d612 Mon Sep 17 00:00:00 2001
From: Howard Hinnant libc++ is a new implementation of the C++ standard library, targeting
- C++0X.
All of the code in libc++ is dual licensed @@ -47,7 +47,7 @@
STLport and the Apache libstdcxx library are two other popular candidates, but both lack C++'0x support. Our experience (and the - experience of libstdc++ developers) is that adding support for C++0x (in + experience of libstdc++ developers) is that adding support for C++11 (in particular rvalue references and move-only types) requires changes to almost every class and function, essentially amounting to a rewrite. Faced with a rewrite, we decided to start from scratch and evaluate every @@ -104,7 +104,7 @@
libc++ is known to work on the following platforms, using g++-4.2 and - clang (lack of C++0X language support disables some functionality).
+ clang (lack of C++11 language support disables some functionality).clang++ -stdlib=libc++ test.cppclang++ -std=c++0x -stdlib=libc++ test.cppclang++ -std=c++11 -stdlib=libc++ test.cppTo run the libc++ test suit (recommended):
@@ -201,7 +201,7 @@ math.h and inttypes.h, add "-U__STRICT_ANSI__" and "-D__STDC_FORMAT_MACROS" to the command line with:-export OPTIONS="-std=c++0x -stdlib=libc++ -U__STRICT_ANSI__ -D__STDC_FORMAT_MACROS"+export OPTIONS="-std=c++11 -stdlib=libc++ -U__STRICT_ANSI__ -D__STDC_FORMAT_MACROS"