------- Comment #6 from rguenth at gcc dot gnu dot org  2006-04-25 13:23 -------
  template<class _Key, class _Compare, class _Alloc>
    class set 
    {
...
      // _GLIBCXX_RESOLVE_LIB_DEFECTS
      // DR 103. set::iterator is required to be modifiable,
      // but this allows modification of keys.
      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;

all iterators are const...


-- 


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

Reply via email to