This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/55409] std::list not properly wrapping access to custom allocator through allocator_traits
- From: "potswa at mac dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Jun 2015 22:20:23 +0000
- Subject: [Bug libstdc++/55409] std::list not properly wrapping access to custom allocator through allocator_traits
- Auto-submitted: auto-generated
- References: <bug-55409-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55409
--- Comment #15 from David Krauss <potswa at mac dot com> ---
> On 2015â06â18, at 5:58 AM, redi at gcc dot gnu.org <gcc-bugzilla@gcc.gnu.org> wrote:
>
> These changes shouldn't affect the ABI.
Ehâ the simplest case of a fancy pointer is a raw pointer to a class derived
from value_type. The allocator can provide an extra overload of deallocate to
help do the downcast. Such an allocator doesnât even need to declare a fancy
pointer type, but it can. I donât know how far that works currently, or if
youâre interested in supporting such hacks.
In any case, great! Sorry about the false alarms, I was only looking at the
online diff viewer :P .=