Boost logo

Boost :

Subject: Re: [boost] [shifted_ptr] Review Request
From: Vicente BOTET (vicente.botet_at_[hidden])
Date: 2011-04-05 19:16:12


> Message du 06/04/11 00:36
> De : "Phil Bouchard"

> A : boost_at_[hidden]
> Copie à :
> Objet : Re: [boost] [shifted_ptr] Review Request
>
> A smart pointer object has the count of the number of pointers pointing
> to the object. shifted_ptr<> also has a set counter; a set counter has
> the count of the number of pointers from the stack referencing to the
> set. Thus when no pointers from the stack are referencing the set
> anymore then the set is being destroyed instantly.

Are shifted_ptrs thread safe?

Best,
Vicente


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