[Boost-bugs] [Boost C++ Libraries] #3327: intrusive_ptr -> use std::swap

Subject: [Boost-bugs] [Boost C++ Libraries] #3327: intrusive_ptr -> use std::swap
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-07 20:53:09


#3327: intrusive_ptr -> use std::swap
----------------------------------------------------------------+-----------
 Reporter: Georg Sauthoff <gsauthof@…> | Owner: pdimov
     Type: Patches | Status: new
Milestone: Boost 1.40.0 | Component: smart_ptr
  Version: Boost 1.39.0 | Severity: Cosmetic
 Keywords: |
----------------------------------------------------------------+-----------
 I noticed that intrusive_ptr uses its own swap code for ptr swapping.

 Attached a trivial patch that uses std::swap for this.

 Or am I missing something, here?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3327>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC