Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-04-15 15:15:56

Tomas Puverle wrote:
>> shared_ptr doesn't use atomic_count because the addition of weak_ptr
>> has made atomic_count's interface insufficient.
> Can you please elaborate on what you mean? Are you saying that you
> cannot implement atomic refcouting because of weak pointers?


I am saying that the sort of atomic reference counting needed by shared_ptr
can't be implemented on top of the current interface (and implementation) of

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