Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-09 16:49:41

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.

In other words, I want to use shared_ptrs to keep things alive as long
as they are referenced; when the cache holds the only reference to an
object, an explicit request for memory may release the final reference.


----- Original Message -----
From: "Rainer Deyke" <root_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Saturday, March 09, 2002 4:38 PM
Subject: [boost] Interest in a cache class?

> I have written a templated cache class for my personal use. Is there
> interest in this for inclusion in Boost?
> --
> Rainer Deyke | root_at_[hidden] |
> Info: Send unsubscribe requests to:
> Your use of Yahoo! Groups is subject to

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