 
            
            
            
            
                31 Aug
                
                    2015
                
            
            
                31 Aug
                
                '15
                
            
            
            
        
    
                8:22 p.m.
            
        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. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/