Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-04-30 22:19:52


"Gennadiy Rozental" <rogeeff_at_[hidden]> wrote in message
news:aanl84$2u5$1_at_main.gmane.org...
> [...]
> And how shared_ptr will automatically switch between intrusive/
> nonintrusive counting? I asking cause it was one of the reason we
> started to talk about traits.

It uses external counts by default, and intrusive counts when c'ted
from an intrusive_ptr<>. The code in CVS is pretty much self-
explanatory (if you're a little more clever than me, anyway).

Dave


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