Subject: Re: [boost] [smart_ptr] error with nullptr_t
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-12-11 15:29:53
Le 11/12/12 20:47, Peter Dimov a écrit :
> Vicente J. Botet Escriba wrote:
>> next follows a compile error with clang 3.1 c++11 just including
>> #include <boost/shared_ptr.hpp>
> This is probably another manifestation of the issue with clang
> supporting the c++11 core language, but the libstdc++ not supporting
> it, namely, <ctsddef> not defining nullptr_t. I'm not sure how to fix
> that. !defined(BOOST_NO_CXX11_NULLPTR) does, in my opinion, imply that
> std::nullptr_t is present (along with nullptr itself). It's not clear
> how a library could offer nullptr support without using nullptr_t.
Ok, I will update my libc++ installation.