Boost logo

Boost :

Subject: Re: [boost] [smart_ptr] shared_ptr template type
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-07-10 09:40:23


Frank Mori Hess wrote:
> And also I imagine generalized_shared could be implemented by copying
> the entire shared_ptr codebase and then making only minor changes.

shared_count can already take an arbitrary P/D pair, so you only need to
copy shared_ptr itself, not the rest of the codebase.


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