Boost logo

Boost :

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


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:



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