Topic: iterator to const_iterator conversions in containers


Author: freyburg@gamut.stanford.edu (Brian Michael Freyburger)
Date: 1996/06/05
Raw View
Has it been considered to add the requirement to containers that an
iterator is convertable to a const_iterator?  I can't find any such
requirement in the latest draft.

I have run into to the lack of a conversion in HP's STL many times,
and was wondering if this orthogonality issue has been considered.
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]