This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/36962] [C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]