This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix libstdc++/7186


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.



Attachment: patch_7186
Description: application/java-vm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]