[PATCH] Fix libstdc++/7186
Paolo Carlini
pcarlini@unitus.it
Fri Jul 5 15:39:00 GMT 2002
Hi,
it turns out that the PR can be fixed exactly in the same way of
libstdc++/6642. Of course, I have also verified that the behavior for
reverse_iterator is not affected (perhaps we can consider adding a *neg
test for reverse iterators, here and for 6642, reminding the open state
of DR280). Tested i686-pc-linux-gnu.
Ok for trunk?
Ciao, Paolo.
////////////////////
2002-07-05 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_7186
Type: application/x-java-vm
Size: 2464 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20020705/8440eefc/attachment.bin>
More information about the Libstdc++
mailing list