re PR libstdc++/6503 ((Deque) Iterators are not typesafe)
authorPaolo Carlini <pcarlini@unitus.it>
Sat, 18 May 2002 15:10:24 +0000 (17:10 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 18 May 2002 15:10:24 +0000 (15:10 +0000)
commit770dc0c5b9dd4e0b77f3a350388e016ef723dbbf
tree927df16f0cdff2a476fe4e6c37e2d9ee6f329076
parent2724afa4a23026760eebcaa95c0a77acfd79a353
re PR libstdc++/6503 ((Deque) Iterators are not typesafe)

2002-05-18  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/6503
* include/bits/stl_deque.h (_Deque_iterator::operator==,
operator!=, operator<, operator>, operator>=, operator<=):
Make non-member functions, to allow comparing const and
non-const iterators in any order.
* testsuite/23_containers/deque_operators.cc: New testfile.

From-SVN: r53590
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/testsuite/23_containers/deque_operators.cc [new file with mode: 0644]