Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-08-23 11:11:13


"Peter Dimov" <pdimov_at_[hidden]> writes:

| > The same argument applies to [].
|
| A weaker version of the argument. Only random access iterators have [], so
| users cannot expect all iterators to supply it.

The whole story about iterators started with pointers :-) And users
do use [] with pointers (which are supposed to provide a canonical
example of random access iterator).

-- Gaby


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