Boost logo

Boost :

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


Hi
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?

Regards
Gustavo Guerra

"Ronald Garcia" <garcia_at_[hidden]> wrote in message
news:3D7399A7.5040309_at_cs.indiana.edu...
> 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:
> http://groups.yahoo.com/group/boost/files/shared_container_iterator.zip
>
> or in the sandbox, docs at:
> boost-sandbox/libs/iterator/docs/shared_container_iterator.html.
>
> Cheers,
>
> Ron
>
>
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>


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