Is there a reason swapping boost::shared_ptr is better than assigning?