public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/19562] New: reverse_iterator comparison
@ 2005-01-21 11:26 kunert at physik dot tu-dresden dot de
  2005-01-21 11:34 ` [Bug libstdc++/19562] " pcarlini at suse dot de
  2005-01-21 15:33 ` gdr at integrable-solutions dot net
  0 siblings, 2 replies; 3+ messages in thread
From: kunert at physik dot tu-dresden dot de @ 2005-01-21 11:26 UTC (permalink / raw)
  To: gcc-bugs

This code does not compile:

#include <map>
using namespace std;

typedef map<int,int> Map;

int main()
{
    Map::reverse_iterator a;
    Map::const_reverse_iterator b;
    return a==b;
}

-- 
           Summary: reverse_iterator comparison
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kunert at physik dot tu-dresden dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19562


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/19562] reverse_iterator comparison
  2005-01-21 11:26 [Bug libstdc++/19562] New: reverse_iterator comparison kunert at physik dot tu-dresden dot de
@ 2005-01-21 11:34 ` pcarlini at suse dot de
  2005-01-21 15:33 ` gdr at integrable-solutions dot net
  1 sibling, 0 replies; 3+ 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 -------


*** This bug has been marked as a duplicate of 11729 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19562


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libstdc++/19562] reverse_iterator comparison
  2005-01-21 11:26 [Bug libstdc++/19562] New: reverse_iterator comparison kunert at physik dot tu-dresden dot de
  2005-01-21 11:34 ` [Bug libstdc++/19562] " pcarlini at suse dot de
@ 2005-01-21 15:33 ` gdr at integrable-solutions dot net
  1 sibling, 0 replies; 3+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-01-21 15:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2005-01-21 15:33 -------
Subject: Re:  New: reverse_iterator comparison

"kunert at physik dot tu-dresden dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| This code does not compile:
| 
| #include <map>
| using namespace std;
| 
| typedef map<int,int> Map;
| 
| int main()
| {
|     Map::reverse_iterator a;
|     Map::const_reverse_iterator b;
|     return a==b;

Known defect.  Omission from the committee.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19562


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-01-21 15:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-21 11:26 [Bug libstdc++/19562] New: reverse_iterator comparison kunert at physik dot tu-dresden dot de
2005-01-21 11:34 ` [Bug libstdc++/19562] " pcarlini at suse dot de
2005-01-21 15:33 ` gdr at integrable-solutions dot net

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).