[Patch]: libstdc++/PR11504 + constness and casting clean up

Gawain Bolton gbolton@free.fr
Sun Jul 27 14:06:00 GMT 2003


Paolo Carlini wrote:

> Gawain Bolton wrote:
>
>> Ok, after spending more time than I care to admit I've prepared 
>> another patch which solves libstdc++/PR11504 and cleans up the 
>> constness and casting done in stl_tree.h
>
>
> ChangeLog entry?
>
How about something like this:

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

        * include/bits/stl_tree.h: Fix libstdc++/PR11504.  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().
        * config/linker-map.gnu: Add and change symbols here.


Gawain

-- 
Gawain Bolton
Coignieres, France
PGP Info: Key server: http://wwwkeys.pgp.net
          Key id: 6EBEDEA6
          Fingerprint: 65C0 0030 21D1 7A01 546A  E7DB D60F 47E0 6EBE DEA6




More information about the Libstdc++ mailing list