Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-08 09:49:53


Angus Leeming <angus.leeming_at_[hidden]> writes:

> I have this code that use shared_ptr<>::use_count() to
> ascertain whether to remove an item from a cache:
>
> Is that the sort of thing you are interested in?

Yep, but unique is not quite the same as use_count.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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