This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: operator== missing on std::__debug::map<>::iterator


2012/12/10 Jonathan Wakely <jwakely.gcc@gmail.com>
>
> On 10 December 2012 21:29, Marc Glisse wrote:
> >
> > By the way, would the standard allow those iterators to be final? (not
> > suggesting it, just asking, because it doesn't seem forbidden)
>
> I have a vague recollection of discussing this in the past somewhere
> and the consensus was that implementations cannot add 'final' to such
> types.  But I might be misremembering the discussion.

I think that implementation-provided iterator belong to the "gray zone" where
declaring them as final would be feasible, see

http://cplusplus.github.com/LWG/lwg-closed.html#2113

- Daniel


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