[cfe-dev] clang++ c++0x and std::move
Jean-Daniel Dupas
devlists at shadowlab.org
Sat Mar 19 00:26:25 PDT 2011
Le 19 mars 2011 à 06:58, mercurio7891 a écrit :
> I am using clang with xcode 4 along with the -std=c++0x option.
>
> The clang compiler seems to generate an error and say that no matching
> parameters can be found for the following move function. However the code
> compiles perfectly find on MSVC2010.
>
Do you use libc++ or libstdc++ ? I'm almost sure the default c++ library on OS X (libstdc++) does not support any c++0x feature.
To install and use the libc++ with clang, just follow the instructions at http://libcxx.llvm.org/
-- Jean-Daniel
More information about the cfe-dev
mailing list