This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36962] [C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr
- From: "jwakely dot gcc at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2008 21:39:08 -0000
- Subject: [Bug libstdc++/36962] [C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr
- References: <bug-36962-16141@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from jwakely dot gcc at gmail dot com 2008-09-04 21:39 -------
Created an attachment (id=16226)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16226&action=view)
new patch
As requested, except I didn't split tr1_impl/boost_sp_counted_base.h
My preference would be to leave that file alone and common to both versions, it
doesn't use variadic templates or rvalue-references and is probably the most
stable part of shared_ptr, as well as the trickiest to get right :)
I'm waiting for the testsuite to finish then I'll send this to the list too.
--
jwakely dot gcc at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #16216|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36962