[cfe-dev] Bug in c++0x not present in c++ was clang cannot parse libc++ headers? <vector>

Sebastian Redl sebastian.redl at getdesigned.at
Wed Jun 23 11:15:45 PDT 2010


On 06/23/2010 07:25 PM, Cédric Venet wrote:
> Yes, it was pretty easy, this code:
> template<class _Tp>
> class shared_ptr {
> public:
>      ~shared_ptr();
> };
>
> template<class _Tp>
> shared_ptr<_Tp>::~shared_ptr() {}
>
> does not compile here with the commandline
>
>          clang++ --std=c++0x test.cpp
>
> but it work if I don't specify the --std=c++0x (ie clang++ test.cpp 
> compile fine)
>
> svn rev 106623 with msvc2008 in debug configuration.
>   
File a bug, please.

Sebastian




More information about the cfe-dev mailing list