OSDN Git Service

2002-05-18 Paolo Carlini <pcarlini@unitus.it>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 May 2002 15:10:24 +0000 (15:10 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 May 2002 15:10:24 +0000 (15:10 +0000)
commitf26795a84ba4b51dc7f4d42de8458e70cae86b64
tree927df16f0cdff2a476fe4e6c37e2d9ee6f329076
parentccbb6ea21d88e82255e36474f26e7f4575512c13
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53590 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/testsuite/23_containers/deque_operators.cc [new file with mode: 0644]