Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2002-02-09 16:05:15


On 2/9/02 12:59 PM, "fkoh2000" <fkoh_at_[hidden]> wrote:

> I may want to use the cache is to
> get a shared_ptr from it. From the
> docs, I couldn't find the way to
> get a shared_ptr from a weak_ptr.

This is a good point, and something that Peter Dimov and I have been
discussing. There's a good chance we'll add it to a future version of
weak_ptr.

Peter, would you care to comment about the implementation difficulties of
providing such an operation?

    -- Darin


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