Comment on PEP-0322: Reverse Iteration Methods

David Abrahams dave at boost-consulting.com
Sun Sep 28 01:48:24 CEST 2003


Stephen Horne <$$$$$$$$$$$$$$$$$@$$$$$$$$$$$$$$$$$$$$.co.uk> writes:

>>> and without that ability to dereference the iterator (1) I cannot see
>>> the point of iterating through a pair, and (2) the 'iterator' would
>>> not be a true iterator as C++ iterators have to comply with one of a
>>> set of standard protocols (forward, bidirectional, random etc) which
>>> all include subscripting.
>>
>>I'm pretty well familiar with those protocols - I've been working on
>>the C++ standards committee since 1997 and have written several
>>related proposals, c.f. http://tinyurl.com/ovpe.
>
> OK - sorry for that.

No prob.

> I remain surprised that this degree of specialisation occurs, but
> it's a case of live and learn I suppose.

Sorry, what specialization?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Python-list mailing list