[v3] typelist::detail::type_to_type removal

Benjamin Kosnik bkoz@redhat.com
Thu Sep 28 01:33:00 GMT 2006


This removes some cruft in the typelist implementation, which should
make this code easier to understand. (Or, possible to understand.) It
should now be possible to remove the duplicate type_to_type in
pb_ds/detail/type_utils.h.

While debugging this change to the performance testsuite, I noticed
that the previously checked in throw_allocator was not pretty-printing
memory allocations correctly, and that the facilities for checking
allocated memory by a specified "label" were not present. So, I added
them. Mostly, I had to do this because -O0 is not working now (?) and
or giving different results from -O1 and -O2,  and gdb was useless with
this highly templatized code.

-benjamin

tested x86/linux
tested x86/linux abi
tested x86/linux performance

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.20060927.bz2
Type: application/x-bzip2
Size: 27136 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060928/df97d89a/attachment.bz2>


More information about the Libstdc++ mailing list