Boost logo

Boost :

From: Andrew Koenig (ark_at_[hidden])
Date: 2002-08-23 09:20:45


Peter> FWIW, after some days of thinking, I am now convinced that the
Peter> operator[] requirement for random access iterators is a
Peter> defect. Iterators don't need [], containers do.

Iterators don't need -> either, but experience was that users expected
all iterators to supply it because they were accustomed to using it
with pointers. The same argument applies to [].

-- 
Andrew Koenig, ark_at_[hidden], http://www.research.att.com/info/ark

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk