This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/14410] Bug with implementation of set for const iterators in g++ ...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]