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.

-Dave

----- 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] | http://rainerdeyke.com
>
>
> Info: http://www.boost.org Send unsubscribe requests to:
<mailto:boost-unsubscribe_at_[hidden]>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>


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