Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-09 17:35:34


----- Original Message -----
From: "David Abrahams" <david.abrahams_at_[hidden]>

> I'm interested if it interacts intelligently with shared_ptr.
> What I want is a cache which can be incrementally flushed, such that
the
> only items that will be destroyed have a reference count of zero.

Re-reading, that "zero" may have to be "one", if you're storing elements
in the cache with shared_ptr. Oh, and an interface which makes use with
set_new_handler trivial would be great.

-Dave


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