diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:41:18 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:43:11 +0900 |
commit | f763a99a501650eff2c60288aa6f10ef916d769e (patch) | |
tree | 02af7e13f9a38c888ebf340fe764cbe7dae99da9 /doc/html/boost/adl_move_swap.html | |
parent | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (diff) | |
download | boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.gz boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.bz2 boost-f763a99a501650eff2c60288aa6f10ef916d769e.zip |
Imported Upstream version 1.62.0upstream/1.62.0
Change-Id: I9d4c1ddb7b7d8f0069217ecc582700f9fda6dd4c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/html/boost/adl_move_swap.html')
-rw-r--r-- | doc/html/boost/adl_move_swap.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/boost/adl_move_swap.html b/doc/html/boost/adl_move_swap.html index 0c428115f7..bd3e3bb12d 100644 --- a/doc/html/boost/adl_move_swap.html +++ b/doc/html/boost/adl_move_swap.html @@ -4,7 +4,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Function template adl_move_swap</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> <link rel="up" href="../move/reference.html#header.boost.move.adl_move_swap_hpp" title="Header <boost/move/adl_move_swap.hpp>"> <link rel="prev" href="../move/reference.html" title="Reference"> @@ -35,10 +35,10 @@ </span> <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">void</span> <span class="identifier">adl_move_swap</span><span class="special">(</span><span class="identifier">T</span> <span class="special">&</span> x<span class="special">,</span> <span class="identifier">T</span> <span class="special">&</span> y<span class="special">)</span><span class="special">;</span></pre></div> <div class="refsect1"> -<a name="idp294945328"></a><h2>Description</h2> +<a name="idm45927887978512"></a><h2>Description</h2> <p>Exchanges the values of a and b, using Argument Dependent Lookup (ADL) to select a specialized swap function if available. If no specialized swap function is available, std::swap is used.</p> <p><span class="bold"><strong>Exception</strong></span>: If T uses Boost.Move's move emulation and the compiler has no rvalue references then:</p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"><p>If T has a <code class="computeroutput">T::swap(T&)</code> member, that member is called.</p></li> <li class="listitem"><p>Otherwise a move-based swap is called, equivalent to: <code class="computeroutput">T t(::boost::move(x)); x = ::boost::move(y); y = ::boost::move(t);</code>. </p></li> </ul></div> |