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

Gabriel Dos Reis gdr@integrable-solutions.net
Mon Dec 10 23:52:00 GMT 2012


On Mon, Dec 10, 2012 at 3:42 PM, Daniel Krügler
<daniel.kruegler@gmail.com> wrote:
> 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

Why should a C++ program care about iterator being final or not?
(I am not talking about conformance testsuites.)

- Gaby



More information about the Libstdc++ mailing list