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]

Re: More function decorations II (pool_allocator, mt_allocator, debug, stl_list)


On Fri, Apr 17, 2009 at 9:20 AM, Jan Hubicka <hubicka@ucw.cz> wrote:
> I wonder, should not be the allocators somehow marked via malloc
> attribute?

I'm not sure.  C++ allocators behave a little different from C malloc.
Given that we have had lifetime issues in the past in this area, I would
suggest caution.

-- Gaby


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