Update of /cvsroot/boost/boost/boost
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21648/boost

Modified Files:
        intrusive_ptr.hpp 
Log Message:
intrusive_ptr::reset added

Index: intrusive_ptr.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/intrusive_ptr.hpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- intrusive_ptr.hpp   10 Dec 2006 21:01:55 -0000      1.23
+++ intrusive_ptr.hpp   9 Apr 2007 21:35:07 -0000       1.24
@@ -105,6 +105,11 @@
         return *this;
     }
 
+    void reset( T * rhs )
+    {
+        this_type( rhs ).swap( *this );
+    }
+
     T * get() const
     {
         return p_;


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to