How to change to native allocators in STL!

Phil Edwards phil@jaj.com
Tue Jul 22 19:04:00 GMT 2003


On Tue, Jul 22, 2003 at 07:52:41AM -0700, Abhi wrote:
> I need to make sure that STL is using the native malloc/free and not
> the custom malloc/free of its own. Since in the later case, Hoard cannot 
> help you.
>    Is it possible to change the allocators at compile time with any 
> switches or at gcc build time?

http://gcc.gnu.org/onlinedocs/libstdc++/ext/howto.html#3

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Libstdc++ mailing list