public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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; 8+ 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] 8+ 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 ` [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator 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; 8+ 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] 8+ 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 ` [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator 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; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread
* [Bug c++/11729] New: no operator!= for const_reverse_iterator
@ 2003-07-30 17:56 relf at os2 dot ru
2004-03-22 6:57 ` [Bug libstdc++/11729] [DR280] " kenta at mit dot edu
` (2 more replies)
0 siblings, 3 replies; 8+ 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] 8+ messages in thread
end of thread, other threads:[~2006-03-27 17:28 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-11729-1335@http.gcc.gnu.org/bugzilla/>
2005-10-04 15:44 ` [Bug libstdc++/11729] [DR280] no operator!= for const_reverse_iterator 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
2003-07-30 17:56 [Bug c++/11729] New: " relf at os2 dot ru
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
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).