[v3] throw_allocator duplicate removal

Benjamin Kosnik bkoz@redhat.com
Tue Sep 19 01:38:00 GMT 2006


	
Yadda yadda, you know the deal: merge __gnu_test::throw_allocator and
pb_ds::test::dbg_ex_allocator into __gnu_cxx::throw_allocator. 

I'll be the first to admit that linkage of this sucker is a total hack
at the moment. Doing a throw_allocator.cc is somewhat problematic as it
includes map instantiations for the data member, which don't really
belong in libstdc++. So, I punt for the time being.

Moving one of these allocators into ext is necessary for pb_ds in debug
mode, as it's assumed that the debugging and throwing allocators are
present.

Minus documentation for the time being.

tested x86/linux
tested x86/linux abi
tested x86/linux performance
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20060918-3.bz2
Type: application/x-bzip2
Size: 9436 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060919/94412a6e/attachment.bz2>


More information about the Libstdc++ mailing list