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: 3 Sep 2008 15:08:44 -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 #11 from jwakely dot gcc at gmail dot com 2008-09-03 15:08 -------
Yes, the problem is with result_of, not my changes to shared_ptr. It will work
with unique_ptr<T,D&> if a type D::result_type exists, so I'll submit the new
patch tonight.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36962