$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: d.frey_at_[hidden]
Date: 2008-04-26 11:42:13
Author: daniel_frey
Date: 2008-04-26 11:42:13 EDT (Sat, 26 Apr 2008)
New Revision: 44777
URL: http://svn.boost.org/trac/boost/changeset/44777
Log:
Added new reset()-counterparts for the new ctors
Text files modified: 
   trunk/boost/shared_ptr.hpp |    12 ++++++++++++                            
   1 files changed, 12 insertions(+), 0 deletions(-)
Modified: trunk/boost/shared_ptr.hpp
==============================================================================
--- trunk/boost/shared_ptr.hpp	(original)
+++ trunk/boost/shared_ptr.hpp	2008-04-26 11:42:13 EDT (Sat, 26 Apr 2008)
@@ -390,6 +390,18 @@
         this_type( r, p ).swap( *this );
     }
 
+    void reset( detail::shared_count const & c, T * p )
+    {
+        this_type( c, p ).swap( *this );
+    }
+
+#if defined( BOOST_HAS_RVALUE_REFS )
+    void reset( detail::shared_count && c, T * p )
+    {
+        this_type( static_cast< detail::shared_count && >( c ), p ).swap( *this );
+    }
+#endif
+
     reference operator* () const // never throws
     {
         BOOST_ASSERT(px != 0);