From: Gustavo Guerra (gustavobt_at_[hidden])
Date: 2002-09-04 10:22:07
Have you ever looked at pointainer from http://ootips.org/yonat/4dev/ ?
Could you comment on the different approaches used by your library, where
reference-count is inforced in the iterators, and pointainer, where
reference-count is inforced by container-wrappers?
"Ronald Garcia" <garcia_at_[hidden]> wrote in message
> I have uploaded a library, Shared Container Iterator Adaptor, to the
> Boost Files section, and added it to boost-sandbox. Its description
> The purpose of the shared container iterator is to attach the lifetime
> of a container to the lifetime of its iterators. In other words,
> the container will be deleted after the last iterator is destroyed.
> The shared container iterator is typically used to implement functions
> that return iterators over a
> range of objects that will only be needed for the lifetime of
> the iterators. By returning a pair of shared iterators from a
> function, the callee can ensure that the underlying container's
> lifetime will be properly managed.
> Can be found at:
> or in the sandbox, docs at:
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk