Boost logo

Boost :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2002-09-02 12:02:31


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


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