[Bug libstdc++/19562] reverse_iterator comparison

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Fri Jan 21 15:33:00 GMT 2005


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



More information about the Gcc-bugs mailing list