Subject: Re: [boost] [ANN] "The Boost C++ Libraries", 2nd edition available
From: Boris Schäling (boris_at_[hidden])
Date: 2014-10-31 13:14:37
On Fri, 31 Oct 2014 12:14:33 +0100, Thorsten Ottosen <tottosen_at_[hidden]>
> On 30-10-2014 22:20, Boris Schäling wrote:
>> Just a quick announcement: The 2nd edition of my book "The Boost C++
>> Libraries" is available.
>> - It introduces 72 Boost libraries.
> Awesome work, Boris.
> I'm very happy to see a small chapter on ptr_container.
> It's good that you compare it with container<unique_ptr<T>>.
> Comment 1: I would prefer examples with unique_ptr to use make_unique.
> Comment 2: The are two major other difference betweeen ptr_vector<T> and
> A. No element can be null(by default), this can never be guranteed with
> vector<unique_ptr<T>>, as you can just move en element out or push_back
> a null.
> B. Automatic cloning: ptr_containers can be copy'ed, performing a deep
> clone of the elements.
Thanks, it is super useful to get this extra information from library
authors/maintainers as I need to divide my attention across too many
libraries. I'll note this down so that I don't forget it. :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk