This is the mail archive of the
mailing list for the libstdc++ project.
How to change to native allocators in STL!
I was also trying to use hoard (as an allocator), www.hoard.org with STL,
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
Is it possible to change the allocators at compile time with any
switches or at gcc build time?
--On Wednesday, July 16, 2003 8:46 PM -0500 Benjamin Kosnik
Do you mean gcc3.4 (Guess that's the dev/snapshot release)?
You are looking for include/ext/mt_allocator.h from the gcc snapshots or
gcc mainline. See: