This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] Adjust shared_ptr signatures vs the allocator parameter
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 6 Dec 2010 17:32:08 +0000
- Subject: Re: [v3] Adjust shared_ptr signatures vs the allocator parameter
- References: <4CFD17AE.9070008@oracle.com>
On 6 December 2010 17:04, Paolo Carlini wrote:
> Hi,
>
> the below tries to adjust the signatures wrt the by value vs by const
> lvalue ref allocator parameter mess. I tried to keep it minimal, thus
> only making sure that: 1- All the std::shared_ptr signatures are per
> N3225; 2- Consistently the same is true for __shared_ptr; 3- Minimally
> optimize the former constructors to use std::move in the initializers
> involving the latter. Jon, does the patch look sane to you?
Yes, looks good to me. Thanks for cleaning it up - the mess was probably mine.