Boost logo

Boost :

From: Gustavo Guerra (gustavobt_at_[hidden])
Date: 2002-09-04 10:22:07

Have you ever looked at pointainer from ?
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?

Gustavo Guerra

"Ronald Garcia" <garcia_at_[hidden]> wrote in message
> Hello,
> I have uploaded a library, Shared Container Iterator Adaptor, to the
> Boost Files section, and added it to boost-sandbox. Its description
> follows:
> 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:
> boost-sandbox/libs/iterator/docs/shared_container_iterator.html.
> Cheers,
> Ron
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at