Subject: Re: [boost] [afio] Formal review of Boost.AFIO
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-08-31 13:22:13
On 31 Aug 2015 at 13:06, AgustÃn K-ballo BergÃ© wrote:
> Let me add that an "atomic safe reference counting implementation" is
> just one of the possible implementations. Although I am not aware of any
> concrete implementation doing things differently, there are alternative
> possible implementations like chaining, and it is the reason for having
> both `use_count` and `unique`.
This is exactly why I supplied a afio::handle_ptr typedef. I don't
expect to ever have to change it from a shared_ptr, but if it ever
came up that some STL out there did things differently, I could swap
in my own implementation very easily.
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk