|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-09-03 06:32:16
"Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> writes:
> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:uwucq299t.fsf_at_boost-consulting.com...
> ...
>> Is there some reason you're defining your own iterators instead of
>> using iterator_facade or iterator_adaptor?
>>
> iterator_adaptor is used here, AFAICS.
Normally you don't define your own operator[], which is why I assumed
it was not. It might make sense if you really want operator[] to
return a reference, I guess.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk