This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] Adjust shared_ptr signatures vs the allocator parameter


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?

Tested x86_64-linux.

Paolo.

/////////////////////

Attachment: CL_shared_ptr_alloc
Description: Text document

Attachment: patch_shared_ptr_alloc
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]