This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] A bit of rationale about C++0x shared_ptr vs allocators
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>, libstdc++ at gcc dot gnu dot org
- Cc: pdimov at mmltd dot net, jwakely dot gcc at gmail dot com
- Date: Tue, 29 Jul 2008 06:30:57 -0500 (CDT)
- Subject: Re: [RFC] A bit of rationale about C++0x shared_ptr vs allocators
- Accept-language: en-US
- References: <19382383.1217329121377.JavaMail.oracle@acsmt302.oracle.com>
Humm, replying to myself, sorry...
> Is it possible to have a bit of rationale?
Now I think I see it. It's because we want eventually to call non-const members, like allocate/deallocate. We are not seeing the issue so clearly in our implementation because of a rebind that we have in our hierarchy... Still, I'm puzzled that the specifications cannot be otherwise...
Paolo.