From: Dave Abrahams (abrahams_at_[hidden])
Date: 1999-12-11 05:47:46
From way back:
> My implementation is based on a recycler handle class that holds the counts, a
> pointer to an object, and a pointer to a function for recycling the object. I
> would have preferred to use virtual functions, but I needed the handle class
> be a fixed size. Smart pointers hold a pointer to a handle and a pointer to
> object held. You do a mark-sweep collection by calling recycle().
If the recycler handle holds a pointer to an object, why are you also
putting the handle in the smart pointer?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk