[RFC] A bit of rationale about C++0x shared_ptr vs allocators

Peter Dimov pdimov@mmltd.net
Tue Jul 29 17:08:00 GMT 2008


Paolo Carlini wrote:
> ... now, however, I'm not sure to understand why allocate_shared
> takes a const ref. The wording about a copy of the allocator used to
> allocate memory is also similar!?

My mistake. :-)



More information about the Libstdc++ mailing list