This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14410] Bug with implementation of set for const iterators in g++ ...
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2004 00:45:22 -0000
- Subject: [Bug libstdc++/14410] Bug with implementation of set for const iterators in g++ ...
- References: <20040303161106.14410.areza123@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-04 00:45 -------
Confirmed. Even in mainline's bits/stl_set.h we have
typedef typename _Rep_type::const_iterator iterator;
typedef typename _Rep_type::const_iterator const_iterator;
typedef typename _Rep_type::const_reverse_iterator reverse_iterator;
typedef typename _Rep_type::const_reverse_iterator const_reverse_iterator;
which doesn't look right :-(
BTW, the same lines are in bits/stl_multiset.h.
If no-one beats me, I'll prepare a patch tomorrow.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-03-04 00:45:21
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14410