stl_tree.h: Overload operators == and != to be able to handle the case...
authorTheodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
Fri, 17 Nov 2000 22:59:03 +0000 (23:59 +0100)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 17 Nov 2000 22:59:03 +0000 (22:59 +0000)
commitc55d267039b1dfe9f5d29e02066a00cfea40305c
tree74716b85b3c8eb3ebc1e1fd1e60ec543afb8344e
parentc9b6c28211cdf126b8e05c57a1ac9da148108a73
stl_tree.h: Overload operators == and != to be able to handle the case...

2000-11-17  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>

* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
* testsuite/23_containers/map_operators.cc (test02): New tests.

From-SVN: r37532
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/map_operators.cc