On Fri, 31 Oct 2014 12:14:33 +0100, Thorsten Ottosen
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.
Thank you!
I'm very happy to see a small chapter on ptr_container. It's good that you compare it with container
. 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 vector
: A. No element can be null(by default), this can never be guranteed with vector
, 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. :) Boris