19 Oct
                
                    2007
                
            
            
                19 Oct
                
                '07
                
            
            
            
        
    
                8:56 a.m.
            
        I don't have a particular reason for not using intrusive_ptr. I also don't have a particular reason not to use shared_ptr.
shared_ptr requires additional allocations.
It requires one additional allocation. Compare this to the potentially many memory allocations required by the std::map used in the pointee.
Since in this case the optimization is very easy to implement, it should probably be done.
Probably so. Emil Dotchevski