multiset forward iterator is const
Matt Austern
austern@isolde.engr.sgi.com
Wed Nov 10 12:05:00 GMT 1999
On Nov 10, 12:01pm, David Marwood wrote:
> To be more clear, multiset_type::reference and int& must be the same
> type and they are not.
That's unclear. The C++ standard is contradictory, and this is
still an open issue before the library working group. The
standardization committee hasn't yet decided how this issue
should be resolved. (There are several related issues. Some of
the signatures in set and multiset make no sense unless iterator
and const_iterator are the same type.)
--Matt
More information about the Libstdc++
mailing list