|
Boost : |
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-12 03:23:02
----- Original Message -----
From: "joel de guzman" <djowel_at_[hidden]>
-owning random-access iterator? I don't, today. Somebody
> > probably does: it provides value beyond separated iterators and storage
> > ownership. Does it have to be in boost? Probably not. I showed how to
put
> > one together on top of a shared array with iterator adaptors in just a
few
> > lines of code. I think if we provide an easy way to build a solution
it's
> > probably enough.
>
> Pardon my limited imagination but what does a smart-pointer-array-iterator
> provide that a separated container + iterator cannot provide? And why is
> the union a good thing? I might be missing something that was discussed
> already in this thread, but I cannot imagine incrementing a smart pointer
> which is the most basic operation of an iterator.
http://groups.yahoo.com/group/boost/message/22588
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk