re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)
authorGawain Bolton <gp.bolton@computer.org>
Wed, 30 Jul 2003 15:01:58 +0000 (15:01 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 30 Jul 2003 15:01:58 +0000 (15:01 +0000)
commitb4c70e89da092f437f0b1b8b97d5beef454d5198
tree00301e8c804e89e1256ed1e02e5f3faea56ed554
parentcf68fdb19bc8881ab06046f3fd8ac5da49770bc4
re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)

2003-07-30  Gawain Bolton  <gp.bolton@computer.org>

PR libstdc++/11504.
* include/bits/stl_tree.h: 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.

From-SVN: r69958
libstdc++-v3/ChangeLog
libstdc++-v3/config/linker-map.gnu
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/src/stl_tree.cc