re PR libstdc++/7186 (DR179 for std::deque::iterator and const_iterator)
authorPaolo Carlini <pcarlini@unitus.it>
Sun, 7 Jul 2002 10:15:06 +0000 (12:15 +0200)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 7 Jul 2002 10:15:06 +0000 (10:15 +0000)
commit276e31ec6eadb5318f9a826f36642a324668d796
tree121a8bcacd0f5614814348a2faf67819fe426ae8
parent12f2f485a335fadb2d444b134e2eb0d795945e25
re PR libstdc++/7186 (DR179 for std::deque::iterator and const_iterator)

2002-07-07  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/7186
* include/bits/stl_deque.h (_Deque_iterator::operator-):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/23_containers/deque_operators.cc: Add test02.

From-SVN: r55301
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_deque.h
libstdc++-v3/testsuite/23_containers/deque_operators.cc