Updated [Patch]: PR libstdc++/11504 + constness and casting clean up

Benjamin Kosnik bkoz@redhat.com
Wed Jul 30 14:10:00 GMT 2003


>2003-07-29 Gawain Bolton <gp.bolton@computer.org>
>
>        * include/bits/stl_tree.h: Fix PR libstdc++/11504.  Replace
>        C-style casts with C++-style casts.  Changes to avoid
>        casting away constness.  Eliminate _Rb_tree_base_iterator
>        class.  Change _Rb_tree_iterator to use initialization lists.
>        Move out implementation of __black_count() to...
>        * src/stl_tree.cc: here and rename _Rb_tree_black_count().
>        Rename_Rb_tree_base_iterator::_M_increment() to
>        _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
>        _Rb_tree_decrement.
>        * config/linker-map.gnu: Add and change symbols here.

This in...

-benjamin



More information about the Libstdc++ mailing list