Opened 13 years ago

Closed 12 years ago

#3327 closed Patches (wontfix)

intrusive_ptr -> use std::swap

Reported by: Georg Sauthoff <gsauthof@…> Owned by: Peter Dimov
Milestone: To Be Determined Component: smart_ptr
Version: Boost 1.39.0 Severity: Cosmetic
Keywords: Cc:

Description

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?

Attachments (1)

intrusive_ptr.swap.patch (575 bytes ) - added by Georg Sauthoff <gsauthof@…> 13 years ago.

Download all attachments as: .zip

Change History (4)

by Georg Sauthoff <gsauthof@…>, 13 years ago

Attachment: intrusive_ptr.swap.patch added

comment:1 by Peter Dimov, 13 years ago

Milestone: Boost 1.40.0To Be Determined

comment:2 by anonymous, 12 years ago

I have upgraded to 1_43. And I don't see the patch. Is there any progress for this trivial ticket ?

comment:3 by Peter Dimov, 12 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.