public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11729] New: no operator!= for const_reverse_iterator
@ 2003-07-30 17:56 relf at os2 dot ru
2003-07-30 19:13 ` [Bug libstdc++/11729] " paolo at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 17+ messages in thread
From: relf at os2 dot ru @ 2003-07-30 17:56 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
Summary: no operator!= for const_reverse_iterator
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: relf at os2 dot ru
CC: gcc-bugs at gcc dot gnu dot org
operator!= is missed for const_reverse_iterator (I've tried `map' and `multimap'
classes). Compiling the code below produces an error:
bug_ne.cpp: In function `int main()':
bug_ne.cpp:12: error: no match for 'operator!=' in 'ri != std::map<_Key, _Tp,
_Compare, _Alloc>::rend() [with _Key = int, _Tp = int, _Compare =
std::less<int>, _Alloc = std::allocator<std::pair<const int, int> >]()'
///// cut_here //////
#include <map>
#include <iostream>
using namespace std;
typedef map<int,int> M;
int main() {
M m;
m[0] = 0;
for(M::const_reverse_iterator ri=m.rbegin();ri!=m.rend();++ri)
cout << ri->first << " : " << ri->second << endl;
return 0;
}
///// cut_here //////
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
@ 2003-07-30 19:13 ` paolo at gcc dot gnu dot org
2004-01-02 5:05 ` [Bug libstdc++/11729] [DR179] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: paolo at gcc dot gnu dot org @ 2003-07-30 19:13 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
paolo at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|c++ |libstdc++
Resolution| |INVALID
------- Additional Comments From paolo at gcc dot gnu dot org 2003-07-30 19:13 -------
Know behaviour, issue DR280 ("Comparison of reverse_iterator to const
reverse_iterator") of the ISO Standard, which, however, at variance with the
corresponding DR179 about iterators, is still in the 'Open' status: we can't do
anything about it 'til the official resolution.
Thanks for your report, Paolo.
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
2003-07-30 19:13 ` [Bug libstdc++/11729] " paolo at gcc dot gnu dot org
@ 2004-01-02 5:05 ` pinskia at gcc dot gnu dot org
2004-01-06 10:12 ` paolo at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-02 5:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-02 05:05 -------
Paolo did DR179, ever get resolved, if not can you reopen the bug and suspend it while the DR is
open.
Thanks,
Andrew
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |paolo at gcc dot gnu dot org
Summary|no operator!= for |[DR179] no operator!= for
|const_reverse_iterator |const_reverse_iterator
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
2003-07-30 19:13 ` [Bug libstdc++/11729] " paolo at gcc dot gnu dot org
2004-01-02 5:05 ` [Bug libstdc++/11729] [DR179] " pinskia at gcc dot gnu dot org
@ 2004-01-06 10:12 ` paolo at gcc dot gnu dot org
2004-01-09 10:43 ` paolo at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: paolo at gcc dot gnu dot org @ 2004-01-06 10:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From paolo at gcc dot gnu dot org 2004-01-06 10:12 -------
*** Bug 13581 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |papadopo at shfj dot cea dot
| |fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (2 preceding siblings ...)
2004-01-06 10:12 ` paolo at gcc dot gnu dot org
@ 2004-01-09 10:43 ` paolo at gcc dot gnu dot org
2004-03-05 7:28 ` relf at os2 dot ru
` (6 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: paolo at gcc dot gnu dot org @ 2004-01-09 10:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From paolo at gcc dot gnu dot org 2004-01-09 10:43 -------
*** Bug 13627 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |wanderer at rsu dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (3 preceding siblings ...)
2004-01-09 10:43 ` paolo at gcc dot gnu dot org
@ 2004-03-05 7:28 ` relf at os2 dot ru
2004-03-05 7:31 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: relf at os2 dot ru @ 2004-03-05 7:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From relf at os2 dot ru 2004-03-05 07:28 -------
I think that INVALID resolution is not suitable. In particular, it hides the
bugreport from default searching.
Reopen to mark it SUSPENDED...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (4 preceding siblings ...)
2004-03-05 7:28 ` relf at os2 dot ru
@ 2004-03-05 7:31 ` pinskia at gcc dot gnu dot org
2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-05 7:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-05 07:31 -------
Confirming it to ...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-05 07:31:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (5 preceding siblings ...)
2004-03-05 7:31 ` pinskia at gcc dot gnu dot org
@ 2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-05 7:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-05 07:32 -------
Suspend it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |SUSPENDED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR179] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (6 preceding siblings ...)
2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
@ 2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
2004-03-22 6:57 ` [Bug libstdc++/11729] [DR280] " kenta at mit dot edu
` (2 subsequent siblings)
10 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-05 7:32 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (7 preceding siblings ...)
2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
@ 2004-03-22 6:57 ` kenta at mit dot edu
2004-03-22 8:08 ` kenta at mit dot edu
2005-01-21 11:34 ` pcarlini at suse dot de
10 siblings, 0 replies; 17+ messages in thread
From: kenta at mit dot edu @ 2004-03-22 6:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kenta at mit dot edu 2004-03-22 06:56 -------
DR279 is a "Closed Issue" now, according to
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-closed.html#279
DR280 is still active, but "implementation experience" is sought:
http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/lwg-active.html#280
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (8 preceding siblings ...)
2004-03-22 6:57 ` [Bug libstdc++/11729] [DR280] " kenta at mit dot edu
@ 2004-03-22 8:08 ` kenta at mit dot edu
2005-01-21 11:34 ` pcarlini at suse dot de
10 siblings, 0 replies; 17+ messages in thread
From: kenta at mit dot edu @ 2004-03-22 8:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From kenta at mit dot edu 2004-03-22 08:08 -------
Oops, DR279 is irrelevant. I had read 279 instead of 179.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
` (9 preceding siblings ...)
2004-03-22 8:08 ` kenta at mit dot edu
@ 2005-01-21 11:34 ` pcarlini at suse dot de
10 siblings, 0 replies; 17+ messages in thread
From: pcarlini at suse dot de @ 2005-01-21 11:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pcarlini at suse dot de 2005-01-21 11:34 -------
*** Bug 19562 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |kunert at physik dot tu-
| |dresden dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2005-10-08 14:57 ` pcarlini at suse dot de
@ 2006-03-27 17:28 ` pcarlini at suse dot de
4 siblings, 0 replies; 17+ messages in thread
From: pcarlini at suse dot de @ 2006-03-27 17:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from pcarlini at suse dot de 2006-03-27 17:28 -------
*** Bug 26887 has been marked as a duplicate of this bug. ***
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schaudhu at blackrock dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2005-10-05 15:50 ` pcarlini at suse dot de
@ 2005-10-08 14:57 ` pcarlini at suse dot de
2006-03-27 17:28 ` pcarlini at suse dot de
4 siblings, 0 replies; 17+ messages in thread
From: pcarlini at suse dot de @ 2005-10-08 14:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from pcarlini at suse dot de 2005-10-08 14:57 -------
*** Bug 24274 has been marked as a duplicate of this bug. ***
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shawn dot yarbrough at gmail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
2005-10-04 15:44 ` pcarlini at suse dot de
2005-10-05 15:49 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-05 15:50 ` pcarlini at suse dot de
2005-10-08 14:57 ` pcarlini at suse dot de
2006-03-27 17:28 ` pcarlini at suse dot de
4 siblings, 0 replies; 17+ messages in thread
From: pcarlini at suse dot de @ 2005-10-05 15:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from pcarlini at suse dot de 2005-10-05 15:50 -------
Fixed for 4.1.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
2005-10-04 15:44 ` pcarlini at suse dot de
@ 2005-10-05 15:49 ` cvs-commit at gcc dot gnu dot org
2005-10-05 15:50 ` pcarlini at suse dot de
` (2 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-05 15:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from cvs-commit at gcc dot gnu dot org 2005-10-05 15:49 -------
Subject: Bug 11729
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: paolo@gcc.gnu.org 2005-10-05 15:49:39
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/bits: stl_iterator.h
libstdc++-v3/docs/html/ext: howto.html
Added files:
libstdc++-v3/testsuite/24_iterators/reverse_iterator: 11729.cc
Log message:
2005-10-05 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/11729 (DR 280, [Ready])
* include/bits/stl_iterator.h: Add reverse_iterator global
functions with two template parameters (operator==, !=, <,
>, <=, >=, -).
* testsuite/24_iterators/reverse_iterator/11729.cc: New.
* docs/html/ext/howto.html: Add an entry for issue 280.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.3120&r2=1.3121
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_iterator.h.diff?cvsroot=gcc&r1=1.29&r2=1.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/docs/html/ext/howto.html.diff?cvsroot=gcc&r1=1.57&r2=1.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/24_iterators/reverse_iterator/11729.cc.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
@ 2005-10-04 15:44 ` pcarlini at suse dot de
2005-10-05 15:49 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: pcarlini at suse dot de @ 2005-10-04 15:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from pcarlini at suse dot de 2005-10-04 15:44 -------
The DR is now [Ready] and we can implement its straightforward resolution.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de
|dot org |
Status|SUSPENDED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11729
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2006-03-27 17:28 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30 17:56 [Bug c++/11729] New: no operator!= for const_reverse_iterator relf at os2 dot ru
2003-07-30 19:13 ` [Bug libstdc++/11729] " paolo at gcc dot gnu dot org
2004-01-02 5:05 ` [Bug libstdc++/11729] [DR179] " pinskia at gcc dot gnu dot org
2004-01-06 10:12 ` paolo at gcc dot gnu dot org
2004-01-09 10:43 ` paolo at gcc dot gnu dot org
2004-03-05 7:28 ` relf at os2 dot ru
2004-03-05 7:31 ` pinskia at gcc dot gnu dot org
2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
2004-03-05 7:32 ` pinskia at gcc dot gnu dot org
2004-03-22 6:57 ` [Bug libstdc++/11729] [DR280] " kenta at mit dot edu
2004-03-22 8:08 ` kenta at mit dot edu
2005-01-21 11:34 ` pcarlini at suse dot de
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
2005-10-04 15:44 ` pcarlini at suse dot de
2005-10-05 15:49 ` cvs-commit at gcc dot gnu dot org
2005-10-05 15:50 ` pcarlini at suse dot de
2005-10-08 14:57 ` pcarlini at suse dot de
2006-03-27 17:28 ` pcarlini at suse dot de
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).