[Bug libstdc++/19562] New: reverse_iterator comparison

kunert at physik dot tu-dresden dot de gcc-bugzilla@gcc.gnu.org
Fri Jan 21 11:26:00 GMT 2005


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



More information about the Gcc-bugs mailing list