Boost logo

Boost :

Subject: Re: [boost] [partly OT] Re: [review queue] What to do about the library review queue?
From: peterkochlarsen (peter.koch.larsen_at_[hidden])
Date: 2017-03-16 07:09:40


Glen Fernandes wrote
> peterkochlarsen wrote:
>> Also an unmaintained library should be marked as such as should
>> libraries that are deprecated, replaced by standard C++ features
>> (shared_ptr comes to mind)
>
> shared_ptr (or Boost.SmartPointers in general) is not unmaintained,
> and is not deprecated.
>
> It actually has been evolving past the C++11 std::shared_ptr.
> For example, boost::shared_ptr supported array forms in 1.53 and this
> was eventually added to C++ in C++17.
>
> (Interesting aside: That functionality above was even, and still is
> used, in certain Microsoft projects, where boost::shared_ptr is used
> instead of std::shared_ptr).
>
> The same goes for other Boost libraries like Boost.Thread. They:
> - May have features not in the C++ standard library equivalent
> - May be evolving past the current C++ standard
> - Are in use by actual projects and shouldn't be removed
>
> Glen

I am not talking about removal, just a note that there is a standard
replacement and a brief cap on their differences. Most people should prefer
using the standard library, reconsidering if they really need the
array-version of shared_ptr. By the way, I am a happy user of boost::thread,
and have not taken the time to move to std::thread yet.

--
View this message in context: http://boost.2283326.n4.nabble.com/review-queue-What-to-do-about-the-library-review-queue-tp4692273p4692339.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk