This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/55409] std::list not properly wrapping access to custom allocator through allocator_traits


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 .=

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