|
Boost Users : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2004-10-12 08:32:49
On Mon, 11 Oct 2004 10:19:54 -0600, David M. Jones <djones_at_[hidden]> wrote:
> - The container itself would act more or less identically to std::list;
> - The iterators on the container would act like boost::weak_ptr in that they
> would know that they are invalid when the list element that they point to is
> removed.
Can't you just do this with a std::list<boost::shared_ptr>? You can
convert the *iterators to weak_ptrs as needed. Or am I missing
something?
-- Caleb Epstein caleb.epstein_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net