PATCH (shadowed rel_ops operators in stl_iterator.h)

Richard Andrews richarda@ixla.com.au
Thu Jan 18 21:37:00 GMT 2001


> please send a patch. A changelog entry. And a testsuite addition so that 
> this regression doesn't come back.

OK,


Attached:

diff file (relative to 2001-01-15 codesourcery build)
Test for section 20.2 (rel_ops)



Changelog entry:

2001-01-19  Richard Andrews  <richarda@ixla.com.au>

        * include/bits/stl_iterator.h: replace local operators with rel_ops
        versions. Allows <iterator> and std::rel_ops in same compile unit.
        * testsuite/20_util/rel_opsANDiterator.cc: New File. Test that 
        std::rel_ops::operatorXX() is not ambiguated by <iterator>




Can someone please verify this and check it in.

Thanks,

Rich



More information about the Libstdc++ mailing list