Boost logo

Boost :

Subject: Re: [boost] Should the clang, c++11 and libstdc++ configuration supported?
From: Peter Dimov (lists_at_[hidden])
Date: 2012-11-17 10:10:36

Daniel James wrote:
> On 17 November 2012 14:31, Peter Dimov <lists_at_[hidden]> wrote:
> > What parts of SmartPtr don't work with clang/libstdc++?
> There are calls to std::forward in
> boost/smart_ptr/make_shared_array.hpp, and
> boost/smart_ptr/allocate_shared_array.hpp that check for compiler
> support but not library support. I don't know if there's an
> appropriate config macro.

That's fixable. There's detail::sp_forward for that very purpose.

> This is only an issue with older versions of libstdc++ in C++11 mode,
> so I don't think it's a common problem.

It was a common problem in the past when g++ itself suffered from it, which
is why there are so few errors in SmartPtr. :-)

But, realistically, if there's no tester for that configuration, we'll lose
support for it when changes get made.

Boost list run by bdawes at, gregod at, cpdaniel at, john at