This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: multiset forward iterator is const


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

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