Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-10-08 06:48:59


Philippe A. Bouchard wrote:
> Gregory Colvin wrote:
>
>> My suspicion is that your implementation of garbage collection can be
>> given a shared_ptr interface with no loss of performance, which I
>> would prefer over introducing a new type.
>
> I agree, but I would like the new interface of shared_ptr to be able
> to handle pure garbage collectors... it is true that sometimes pure
> garbage collectors are faster than reference counts. That will cover
> every possible smart pointer.

Is there something in the shared_ptr specification that makes your
implementation impossible?


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