
25 Oct
2013
25 Oct
'13
12:45 p.m.
2013/10/25 Peter Dimov <lists@pdimov.com>
For this, you don't seem to need atomic<intrusive_ptr> though; atomic<T*> works just as well, doesn't it?
yes, I could use atomic<T*> but the other code tracks T* in intrusive_ptr< T > and it looks a little bit awkward if I release a raw-ponter from a smart-pointer in order to store it in a container.