Update of /cvsroot/boost/boost/libs/smart_ptr
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21648/libs/smart_ptr
Modified Files:
intrusive_ptr.html
Log Message:
intrusive_ptr::reset added
Index: intrusive_ptr.html
===================================================================
RCS file: /cvsroot/boost/boost/libs/smart_ptr/intrusive_ptr.html,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- intrusive_ptr.html 9 Nov 2006 20:17:14 -0000 1.8
+++ intrusive_ptr.html 9 Apr 2007 21:35:07 -0000 1.9
@@ -61,7 +61,8 @@
intrusive_ptr & <A href="#assignment" >operator=</A>(intrusive_ptr
const & r);
template<class Y> intrusive_ptr & <A href="#assignment"
>operator=</A>(intrusive_ptr<Y> const & r);
- template<class Y> intrusive_ptr & <A href="#assignment"
>operator=</A>(T * r);
+ intrusive_ptr & <A href="#assignment" >operator=</A>(T * r);
+ void <a href="#reset" >reset</a>(T * r);
T & <A href="#indirection" >operator*</A>() const; // never throws
T * <A href="#indirection" >operator-></A>() const; // never throws
@@ -146,6 +147,11 @@
<P><B>Effects:</B> Equivalent to
<code>intrusive_ptr(r).swap(*this)</code>.</P>
<P><B>Returns:</B> <code>*this</code>.</P>
</BLOCKQUOTE>
+ <H3><a name="reset">reset</a></H3>
+ <pre>void reset(T * r);</pre>
+ <BLOCKQUOTE>
+ <P><B>Effects:</B> Equivalent to
<code>intrusive_ptr(r).swap(*this)</code>.</P>
+ </BLOCKQUOTE>
<h3><a name="indirection">indirection</a></h3>
<pre>T & operator*() const; // never throws</pre>
<blockquote>
-------------------------------------------------------------------------
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