mirror of
https://github.com/boostorg/move.git
synced 2025-08-03 14:14:26 +02:00
Changes for 1.49
[SVN r76183]
This commit is contained in:
16
doc/move.qbk
16
doc/move.qbk
@@ -49,7 +49,7 @@ proceed to overwrite the old copy. Consider:
|
|||||||
|
|
||||||
[c++]
|
[c++]
|
||||||
|
|
||||||
template <class T> swap(T& a, T& b)
|
template <class T> void swap(T& a, T& b)
|
||||||
{
|
{
|
||||||
T tmp(a); // now we have two copies of a
|
T tmp(a); // now we have two copies of a
|
||||||
a = b; // now we have two copies of b
|
a = b; // now we have two copies of b
|
||||||
@@ -60,7 +60,7 @@ But, we didn't want to have any copies of a or b, we just wanted to swap them. L
|
|||||||
|
|
||||||
[c++]
|
[c++]
|
||||||
|
|
||||||
template <class T> swap(T& a, T& b)
|
template <class T> void swap(T& a, T& b)
|
||||||
{
|
{
|
||||||
T tmp(::boost::move(a));
|
T tmp(::boost::move(a));
|
||||||
a = ::boost::move(b);
|
a = ::boost::move(b);
|
||||||
@@ -785,4 +785,16 @@ Many thanks to all boosters that have tested, reviewed and improved the library.
|
|||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
[section:release_notes Release Notes]
|
||||||
|
|
||||||
|
[section:release_notes_boost_1_49_00 Boost 1.49 Release]
|
||||||
|
|
||||||
|
* Fixed bugs
|
||||||
|
[@https://svn.boost.org/trac/boost/ticket/6185 #6185],
|
||||||
|
[@https://svn.boost.org/trac/boost/ticket/6183 #6183].
|
||||||
|
|
||||||
|
[endsect]
|
||||||
|
|
||||||
|
[endsect]
|
||||||
|
|
||||||
[xinclude autodoc.xml]
|
[xinclude autodoc.xml]
|
||||||
|
@@ -5,10 +5,10 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|||||||
-->
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; URL=../../doc/html/move.html">
|
<meta http-equiv="refresh" content="0; URL=../../doc/html/move.html">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
Automatic redirection failed, please go to
|
Automatic redirection failed, please go to
|
||||||
<a href="../../doc/html/move.html">../../doc/html/move.html</a>
|
<a href="../../doc/html/move.html">../../doc/html/move.html</a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user