Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82908 - trunk/libs/any/doc
From: steven_at_[hidden]
Date: 2013-02-15 13:07:09


Author: steven_watanabe
Date: 2013-02-15 13:07:08 EST (Fri, 15 Feb 2013)
New Revision: 82908
URL: http://svn.boost.org/trac/boost/changeset/82908

Log:
Document free swap. Fixes #7578.
Text files modified:
   trunk/libs/any/doc/any.xml | 16 ++++++++++++++++
   1 files changed, 16 insertions(+), 0 deletions(-)

Modified: trunk/libs/any/doc/any.xml
==============================================================================
--- trunk/libs/any/doc/any.xml (original)
+++ trunk/libs/any/doc/any.xml 2013-02-15 13:07:08 EST (Fri, 15 Feb 2013)
@@ -396,6 +396,22 @@
             </method>
           </method-group>
         </class>
+
+ <function name="swap">
+ <type>void</type>
+ <parameter name="lhs">
+ <paramtype><classname>any</classname> &amp;</paramtype>
+ </parameter>
+ <parameter name="rhs">
+ <paramtype><classname>any</classname> &amp;</paramtype>
+ </parameter>
+
+ <effects><simpara>Exchange of the contents of
+ <code>lhs</code> and
+ <code>rhs</code>.</simpara></effects>
+
+ <throws><simpara>Nothing.</simpara></throws>
+ </function>
 
         <overloaded-function name="any_cast">
           <signature>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk