This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project. See the libstdc++ home page for more information.
According to Benjamin Kosnik:
> I don't really see any real reason to have separate classes for
> const_iterator and iterator.
Perhaps I've misunderstood you:
void foo (collection::const_iterator it)
{ *it = 0; }
You don't think that's worth a compile-time error?
--
Chip Salzenberg - a.k.a. - <chip@perlsupport.com>
"When do you work?" "Whenever I'm not busy."