Boost logo

Boost :

Subject: Re: [boost] [Any] Reference counting
From: Michael Howell (mhowell123_at_[hidden])
Date: 2009-04-05 23:34:30

I wrote:
> I haven't read it, and have looked into atomic numbers, but couldn't find
> the "Boost Way" to do it (except perhaps poking around with shared_ptr
> innards). I wanted to use intrusive counts, since we have control over the
> object we are sharing.
I've found the "Boost Way" to do it: boost::detail::atomic_count. It even does
non-atomic counts if people disable thread-safety.

Michael Howell 

Boost list run by bdawes at, gregod at, cpdaniel at, john at