Boost logo

Boost Users :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-04-03 16:26:39


> -----Original Message-----
> From: boost-users-bounces_at_[hidden]
> [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Dave
> Sent: Monday, April 03, 2006 12:47 PM
> To: boost-users_at_[hidden]
> Subject: [BULK] [Boost-users] Use count callback
> Importance: Low
>
> Hello all,
>
> I'm using shared_ptr<foo> and would like to be notified, via
> a callback,
> when the use count for a foo object becomes > N. I wish to receive
> notification for no shared_ptr types other than those
> instantiated with foo.
> Is this possible?

Specialize for foo? Might be kind of tedious though.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net