1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>Reference</title> 6<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> 7<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 8<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> 9<link rel="up" href="../move.html" title="Chapter 25. Boost.Move"> 10<link rel="prev" href="release_notes.html" title="Release Notes"> 11<link rel="next" href="../boost/adl_move_swap.html" title="Function template adl_move_swap"> 12</head> 13<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 14<table cellpadding="2" width="100%"><tr> 15<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td> 16<td align="center"><a href="../../../index.html">Home</a></td> 17<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td> 18<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 19<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 20<td align="center"><a href="../../../more/index.htm">More</a></td> 21</tr></table> 22<hr> 23<div class="spirit-nav"> 24<a accesskey="p" href="release_notes.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../move.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost/adl_move_swap.html"><img src="../../../doc/src/images/next.png" alt="Next"></a> 25</div> 26<div class="section"> 27<div class="titlepage"><div><div><h2 class="title" style="clear: both"> 28<a name="move.reference"></a>Reference</h2></div></div></div> 29<div class="toc"><dl class="toc"> 30<dt><span class="section"><a href="reference.html#header.boost.move.adl_move_swap_hpp">Header <boost/move/adl_move_swap.hpp></a></span></dt> 31<dt><span class="section"><a href="reference.html#header.boost.move.algo.adaptive_merge_hpp">Header <boost/move/algo/adaptive_merge.hpp></a></span></dt> 32<dt><span class="section"><a href="reference.html#header.boost.move.algo.adaptive_sort_hpp">Header <boost/move/algo/adaptive_sort.hpp></a></span></dt> 33<dt><span class="section"><a href="reference.html#header.boost.move.algo.predicate_hpp">Header <boost/move/algo/predicate.hpp></a></span></dt> 34<dt><span class="section"><a href="reference.html#header.boost.move.algo.unique_hpp">Header <boost/move/algo/unique.hpp></a></span></dt> 35<dt><span class="section"><a href="reference.html#header.boost.move.algorithm_hpp">Header <boost/move/algorithm.hpp></a></span></dt> 36<dt><span class="section"><a href="reference.html#header.boost.move.core_hpp">Header <boost/move/core.hpp></a></span></dt> 37<dt><span class="section"><a href="reference.html#header.boost.move.default_delete_hpp">Header <boost/move/default_delete.hpp></a></span></dt> 38<dt><span class="section"><a href="reference.html#header.boost.move.iterator_hpp">Header <boost/move/iterator.hpp></a></span></dt> 39<dt><span class="section"><a href="reference.html#header.boost.move.make_unique_hpp">Header <boost/move/make_unique.hpp></a></span></dt> 40<dt><span class="section"><a href="reference.html#header.boost.move.move_hpp">Header <boost/move/move.hpp></a></span></dt> 41<dt><span class="section"><a href="reference.html#header.boost.move.algo.move_hpp">Header <boost/move/algo/move.hpp></a></span></dt> 42<dt><span class="section"><a href="reference.html#header.boost.move.traits_hpp">Header <boost/move/traits.hpp></a></span></dt> 43<dt><span class="section"><a href="reference.html#header.boost.move.unique_ptr_hpp">Header <boost/move/unique_ptr.hpp></a></span></dt> 44<dt><span class="section"><a href="reference.html#header.boost.move.utility_hpp">Header <boost/move/utility.hpp></a></span></dt> 45<dt><span class="section"><a href="reference.html#header.boost.move.utility_core_hpp">Header <boost/move/utility_core.hpp></a></span></dt> 46</dl></div> 47<div class="section"> 48<div class="titlepage"><div><div><h3 class="title"> 49<a name="header.boost.move.adl_move_swap_hpp"></a>Header <<a href="../../../boost/move/adl_move_swap.hpp" target="_top">boost/move/adl_move_swap.hpp</a>></h3></div></div></div> 50<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 51 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">void</span> <a class="link" href="../boost/adl_move_swap.html" title="Function template adl_move_swap"><span class="identifier">adl_move_swap</span></a><span class="special">(</span><span class="identifier">T</span> <span class="special">&</span><span class="special">,</span> <span class="identifier">T</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 52 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> ForwardIt1<span class="special">,</span> <span class="keyword">typename</span> ForwardIt2<span class="special">></span> 53 <span class="identifier">ForwardIt2</span> <a class="link" href="../boost/adl_move_swap_ranges.html" title="Function template adl_move_swap_ranges"><span class="identifier">adl_move_swap_ranges</span></a><span class="special">(</span><span class="identifier">ForwardIt1</span><span class="special">,</span> <span class="identifier">ForwardIt1</span><span class="special">,</span> <span class="identifier">ForwardIt2</span><span class="special">)</span><span class="special">;</span> 54 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> BidirIt1<span class="special">,</span> <span class="keyword">typename</span> BidirIt2<span class="special">></span> 55 <span class="identifier">BidirIt2</span> <a name="boost.adl_move_s_1_3_26_20_1_1_3"></a><span class="identifier">adl_move_swap_ranges_backward</span><span class="special">(</span><span class="identifier">BidirIt1</span> first1<span class="special">,</span> <span class="identifier">BidirIt1</span> last1<span class="special">,</span> 56 <span class="identifier">BidirIt2</span> last2<span class="special">)</span><span class="special">;</span> 57 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> ForwardIt1<span class="special">,</span> <span class="keyword">typename</span> ForwardIt2<span class="special">></span> 58 <span class="keyword">void</span> <a name="boost.adl_move_iter_swap"></a><span class="identifier">adl_move_iter_swap</span><span class="special">(</span><span class="identifier">ForwardIt1</span> a<span class="special">,</span> <span class="identifier">ForwardIt2</span> b<span class="special">)</span><span class="special">;</span> 59<span class="special">}</span></pre> 60</div> 61<div class="section"> 62<div class="titlepage"><div><div><h3 class="title"> 63<a name="header.boost.move.algo.adaptive_merge_hpp"></a>Header <<a href="../../../boost/move/algo/adaptive_merge.hpp" target="_top">boost/move/algo/adaptive_merge.hpp</a>></h3></div></div></div> 64<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 65 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 66 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> RandIt<span class="special">,</span> <span class="keyword">typename</span> Compare<span class="special">></span> 67 <span class="keyword">void</span> <a class="link" href="../boost/movelib/adaptive_merge.html" title="Function template adaptive_merge"><span class="identifier">adaptive_merge</span></a><span class="special">(</span><span class="identifier">RandIt</span><span class="special">,</span> <span class="identifier">RandIt</span><span class="special">,</span> <span class="identifier">RandIt</span><span class="special">,</span> <span class="identifier">Compare</span><span class="special">,</span> 68 <span class="keyword">typename</span> <span class="identifier">iterator_traits</span><span class="special"><</span> <span class="identifier">RandIt</span> <span class="special">></span><span class="special">::</span><span class="identifier">value_type</span> <span class="special">*</span> <span class="special">=</span> <span class="number">0</span><span class="special">,</span> 69 <span class="keyword">typename</span> <span class="identifier">iterator_traits</span><span class="special"><</span> <span class="identifier">RandIt</span> <span class="special">></span><span class="special">::</span><span class="identifier">size_type</span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span> 70 <span class="special">}</span> 71<span class="special">}</span></pre> 72</div> 73<div class="section"> 74<div class="titlepage"><div><div><h3 class="title"> 75<a name="header.boost.move.algo.adaptive_sort_hpp"></a>Header <<a href="../../../boost/move/algo/adaptive_sort.hpp" target="_top">boost/move/algo/adaptive_sort.hpp</a>></h3></div></div></div> 76<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 77 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 78 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> RandIt<span class="special">,</span> <span class="keyword">typename</span> RandRawIt<span class="special">,</span> <span class="keyword">typename</span> Compare<span class="special">></span> 79 <span class="keyword">void</span> <a class="link" href="../boost/movelib/adaptive_1_3_26_20_3_1_1_1.html" title="Function template adaptive_sort"><span class="identifier">adaptive_sort</span></a><span class="special">(</span><span class="identifier">RandIt</span><span class="special">,</span> <span class="identifier">RandIt</span><span class="special">,</span> <span class="identifier">Compare</span><span class="special">,</span> <span class="identifier">RandRawIt</span><span class="special">,</span> 80 <span class="keyword">typename</span> <span class="identifier">iterator_traits</span><span class="special"><</span> <span class="identifier">RandIt</span> <span class="special">></span><span class="special">::</span><span class="identifier">size_type</span><span class="special">)</span><span class="special">;</span> 81 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> RandIt<span class="special">,</span> <span class="keyword">typename</span> Compare<span class="special">></span> 82 <span class="keyword">void</span> <a name="boost.movelib.adaptive_1_3_26_20_3_1_1_2"></a><span class="identifier">adaptive_sort</span><span class="special">(</span><span class="identifier">RandIt</span> first<span class="special">,</span> <span class="identifier">RandIt</span> last<span class="special">,</span> <span class="identifier">Compare</span> comp<span class="special">)</span><span class="special">;</span> 83 <span class="special">}</span> 84<span class="special">}</span></pre> 85</div> 86<div class="section"> 87<div class="titlepage"><div><div><h3 class="title"> 88<a name="header.boost.move.algo.predicate_hpp"></a>Header <<a href="../../../boost/move/algo/predicate.hpp" target="_top">boost/move/algo/predicate.hpp</a>></h3></div></div></div> 89<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 90 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 91 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Comp<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/movelib/antistable.html" title="Struct template antistable">antistable</a><span class="special">;</span> 92 93 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Comp<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/movelib/inverse.html" title="Class template inverse">inverse</a><span class="special">;</span> 94 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Comp<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/movelib/negate.html" title="Class template negate">negate</a><span class="special">;</span> 95 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Comp<span class="special">></span> <span class="identifier">Comp</span> <a name="boost.movelib.unantist_1_3_26_20_4_1_1_4"></a><span class="identifier">unantistable</span><span class="special">(</span><span class="identifier">Comp</span> comp<span class="special">)</span><span class="special">;</span> 96 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Comp<span class="special">></span> <span class="identifier">Comp</span> <a name="boost.movelib.unantist_1_3_26_20_4_1_1_5"></a><span class="identifier">unantistable</span><span class="special">(</span><span class="identifier">antistable</span><span class="special"><</span> <span class="identifier">Comp</span> <span class="special">></span> comp<span class="special">)</span><span class="special">;</span> 97 <span class="special">}</span> 98<span class="special">}</span></pre> 99</div> 100<div class="section"> 101<div class="titlepage"><div><div><h3 class="title"> 102<a name="header.boost.move.algo.unique_hpp"></a>Header <<a href="../../../boost/move/algo/unique.hpp" target="_top">boost/move/algo/unique.hpp</a>></h3></div></div></div> 103<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 104 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 105 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="link" href="../ForwardIterator.html" title="Concept ForwardIterator">ForwardIterator</a><span class="special">,</span> <span class="keyword">typename</span> BinaryPredicate<span class="special">></span> 106 <span class="identifier">ForwardIterator</span> 107 <a class="link" href="../boost/movelib/unique.html" title="Function template unique"><span class="identifier">unique</span></a><span class="special">(</span><span class="identifier">ForwardIterator</span><span class="special">,</span> <span class="identifier">ForwardIterator</span><span class="special">,</span> <span class="identifier">BinaryPredicate</span><span class="special">)</span><span class="special">;</span> 108 <span class="special">}</span> 109<span class="special">}</span></pre> 110</div> 111<div class="section"> 112<div class="titlepage"><div><div><h3 class="title"> 113<a name="header.boost.move.algorithm_hpp"></a>Header <<a href="../../../boost/move/algorithm.hpp" target="_top">boost/move/algorithm.hpp</a>></h3></div></div></div> 114<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 115 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> F<span class="special">></span> 116 <span class="identifier">F</span> <a name="boost.uninitiali_1_3_26_20_6_1_1"></a><span class="identifier">uninitialized_copy_or_move</span><span class="special">(</span><span class="identifier">I</span> f<span class="special">,</span> <span class="identifier">I</span> l<span class="special">,</span> <span class="identifier">F</span> r<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span> 117 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> F<span class="special">></span> 118 <span class="identifier">F</span> <a name="boost.copy_or_mo_1_3_26_20_6_1_2"></a><span class="identifier">copy_or_move</span><span class="special">(</span><span class="identifier">I</span> f<span class="special">,</span> <span class="identifier">I</span> l<span class="special">,</span> <span class="identifier">F</span> r<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">=</span> <span class="number">0</span><span class="special">)</span><span class="special">;</span> 119 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> F<span class="special">></span> <span class="identifier">F</span> <a class="link" href="../boost/uninitiali_1_3_26_20_6_1_3.html" title="Function template uninitialized_copy_or_move"><span class="identifier">uninitialized_copy_or_move</span></a><span class="special">(</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">F</span><span class="special">)</span><span class="special">;</span> 120 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> F<span class="special">></span> <span class="identifier">F</span> <a class="link" href="../boost/copy_or_mo_1_3_26_20_6_1_4.html" title="Function template copy_or_move"><span class="identifier">copy_or_move</span></a><span class="special">(</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">F</span><span class="special">)</span><span class="special">;</span> 121<span class="special">}</span></pre> 122</div> 123<div class="section"> 124<div class="titlepage"><div><div><h3 class="title"> 125<a name="header.boost.move.core_hpp"></a>Header <<a href="../../../boost/move/core.hpp" target="_top">boost/move/core.hpp</a>></h3></div></div></div> 126<p>This header implements macros to define movable classes and move-aware functions </p> 127<pre class="synopsis"> 128 129<a class="link" href="../BOOST_MOVABL_1_3_26_20_7_3.html" title="Macro BOOST_MOVABLE_BUT_NOT_COPYABLE">BOOST_MOVABLE_BUT_NOT_COPYABLE</a>(TYPE) 130<a class="link" href="../BOOST_COPYABLE_AND_MOVABLE.html" title="Macro BOOST_COPYABLE_AND_MOVABLE">BOOST_COPYABLE_AND_MOVABLE</a>(TYPE) 131<a class="link" href="../BOOST_RV_REF.html" title="Macro BOOST_RV_REF">BOOST_RV_REF</a>(TYPE) 132<a class="link" href="../BOOST_RV_REF_BEG.html" title="Macro BOOST_RV_REF_BEG">BOOST_RV_REF_BEG</a> 133<a class="link" href="../BOOST_RV_REF_END.html" title="Macro BOOST_RV_REF_END">BOOST_RV_REF_END</a> 134<a class="link" href="../BOOST_RV_REF_BEG_IF_CXX11.html" title="Macro BOOST_RV_REF_BEG_IF_CXX11">BOOST_RV_REF_BEG_IF_CXX11</a> 135<a class="link" href="../BOOST_RV_REF_END_IF_CXX11.html" title="Macro BOOST_RV_REF_END_IF_CXX11">BOOST_RV_REF_END_IF_CXX11</a> 136<a class="link" href="../BOOST_COPY_ASSIGN_REF.html" title="Macro BOOST_COPY_ASSIGN_REF">BOOST_COPY_ASSIGN_REF</a>(TYPE) 137<a class="link" href="../BOOST_FWD_REF.html" title="Macro BOOST_FWD_REF">BOOST_FWD_REF</a>(TYPE) 138<a class="link" href="../BOOST_MOVE_RET.html" title="Macro BOOST_MOVE_RET">BOOST_MOVE_RET</a>(RET_TYPE, REF) 139<a class="link" href="../BOOST_MOVE_BASE.html" title="Macro BOOST_MOVE_BASE">BOOST_MOVE_BASE</a>(BASE_TYPE, ARG)</pre> 140<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 141 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/has_move_e_1_3_26_20_7_2_1.html" title="Struct template has_move_emulation_disabled">has_move_emulation_disabled</a><span class="special">;</span> 142 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/has_move_emulation_enabled.html" title="Struct template has_move_emulation_enabled">has_move_emulation_enabled</a><span class="special">;</span> 143<span class="special">}</span></pre> 144</div> 145<div class="section"> 146<div class="titlepage"><div><div><h3 class="title"> 147<a name="header.boost.move.default_delete_hpp"></a>Header <<a href="../../../boost/move/default_delete.hpp" target="_top">boost/move/default_delete.hpp</a>></h3></div></div></div> 148<p>Describes the default deleter (destruction policy) of <code class="computeroutput">unique_ptr</code>: <code class="computeroutput">default_delete</code>. </p> 149<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 150 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 151 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/movelib/default_delete.html" title="Struct template default_delete">default_delete</a><span class="special">;</span> 152 <span class="special">}</span> 153<span class="special">}</span></pre> 154</div> 155<div class="section"> 156<div class="titlepage"><div><div><h3 class="title"> 157<a name="header.boost.move.iterator_hpp"></a>Header <<a href="../../../boost/move/iterator.hpp" target="_top">boost/move/iterator.hpp</a>></h3></div></div></div> 158<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 159 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/back_move_insert_iterator.html" title="Class template back_move_insert_iterator">back_move_insert_iterator</a><span class="special">;</span> 160 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/front_move_insert_iterator.html" title="Class template front_move_insert_iterator">front_move_insert_iterator</a><span class="special">;</span> 161 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/move_insert_iterator.html" title="Class template move_insert_iterator">move_insert_iterator</a><span class="special">;</span> 162 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> It<span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/move_iterator.html" title="Class template move_iterator">move_iterator</a><span class="special">;</span> 163 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> It<span class="special">></span> <a class="link" href="../boost/move_iterator.html" title="Class template move_iterator">move_iterator</a><span class="special"><</span> <span class="identifier">It</span> <span class="special">></span> <a class="link" href="../boost/make_move_iterator.html" title="Function template make_move_iterator"><span class="identifier">make_move_iterator</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">It</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 164 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> <a class="link" href="../boost/back_move_insert_iterator.html" title="Class template back_move_insert_iterator">back_move_insert_iterator</a><span class="special"><</span> <span class="identifier">C</span> <span class="special">></span> <a class="link" href="../boost/back_move_inserter.html" title="Function template back_move_inserter"><span class="identifier">back_move_inserter</span></a><span class="special">(</span><span class="identifier">C</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 165 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> 166 <a class="link" href="../boost/front_move_insert_iterator.html" title="Class template front_move_insert_iterator">front_move_insert_iterator</a><span class="special"><</span> <span class="identifier">C</span> <span class="special">></span> <a class="link" href="../boost/front_move_inserter.html" title="Function template front_move_inserter"><span class="identifier">front_move_inserter</span></a><span class="special">(</span><span class="identifier">C</span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 167 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> C<span class="special">></span> 168 <span class="identifier">move_insert_iterator</span><span class="special"><</span> <span class="identifier">C</span> <span class="special">></span> <a class="link" href="../boost/move_inserter.html" title="Function template move_inserter"><span class="identifier">move_inserter</span></a><span class="special">(</span><span class="identifier">C</span> <span class="special">&</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">C</span><span class="special">::</span><span class="identifier">iterator</span><span class="special">)</span><span class="special">;</span> 169<span class="special">}</span></pre> 170</div> 171<div class="section"> 172<div class="titlepage"><div><div><h3 class="title"> 173<a name="header.boost.move.make_unique_hpp"></a>Header <<a href="../../../boost/move/make_unique.hpp" target="_top">boost/move/make_unique.hpp</a>></h3></div></div></div> 174<p>Defines "make_unique" functions, which are factories to create instances of unique_ptr depending on the passed arguments.</p> 175<p>This header can be a bit heavyweight in C++03 compilers due to the use of the preprocessor library, that's why it's a a separate header from <code class="computeroutput">unique_ptr.hpp</code> </p> 176<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 177 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 178 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> Args<span class="special">></span> 179 <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_1.html" title="Function template make_unique"><span class="identifier">make_unique</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="special">&&</span><span class="special">...</span><span class="special">)</span><span class="special">;</span> 180 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> Args<span class="special">></span> 181 <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_2.html" title="Function template make_unique_nothrow"><span class="identifier">make_unique_nothrow</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="special">&&</span><span class="special">...</span><span class="special">)</span><span class="special">;</span> 182 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_3.html" title="Function template make_unique_definit"><span class="identifier">make_unique_definit</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span> 183 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_4.html" title="Function template make_unique_nothrow_definit"><span class="identifier">make_unique_nothrow_definit</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span> 184 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_5.html" title="Function template make_unique"><span class="identifier">make_unique</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span> 185 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_6.html" title="Function template make_unique_nothrow"><span class="identifier">make_unique_nothrow</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span> 186 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_7.html" title="Function template make_unique_definit"><span class="identifier">make_unique_definit</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span> 187 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> 188 <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span> <span class="special">></span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_8.html" title="Function template make_unique_nothrow_definit"><span class="identifier">make_unique_nothrow_definit</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span><span class="special">;</span> 189 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> Args<span class="special">></span> <span class="identifier">unspecified</span> <a class="link" href="../boost/movelib/make_un_1_3_26_20_10_3_1_9.html" title="Function template make_unique"><span class="identifier">make_unique</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="special">&&</span><span class="special">)</span><span class="special">;</span> 190 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> Args<span class="special">></span> 191 <span class="identifier">unspecified</span> <a class="link" href="../boost/movelib/make_u_1_3_26_20_10_3_1_10.html" title="Function template make_unique_definit"><span class="identifier">make_unique_definit</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="special">&&</span><span class="special">)</span><span class="special">;</span> 192 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> Args<span class="special">></span> 193 <span class="identifier">unspecified</span> <a class="link" href="../boost/movelib/make_u_1_3_26_20_10_3_1_11.html" title="Function template make_unique_nothrow"><span class="identifier">make_unique_nothrow</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="special">&&</span><span class="special">)</span><span class="special">;</span> 194 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> Args<span class="special">></span> 195 <span class="identifier">unspecified</span> <a class="link" href="../boost/movelib/make_u_1_3_26_20_10_3_1_12.html" title="Function template make_unique_nothrow_definit"><span class="identifier">make_unique_nothrow_definit</span></a><span class="special">(</span><span class="identifier">Args</span> <span class="special">&&</span><span class="special">)</span><span class="special">;</span> 196 <span class="special">}</span> 197<span class="special">}</span></pre> 198</div> 199<div class="section"> 200<div class="titlepage"><div><div><h3 class="title"> 201<a name="header.boost.move.move_hpp"></a>Header <<a href="../../../boost/move/move.hpp" target="_top">boost/move/move.hpp</a>></h3></div></div></div> 202<p>A general library header that includes the rest of top-level headers. </p> 203</div> 204<div class="section"> 205<div class="titlepage"><div><div><h3 class="title"> 206<a name="header.boost.move.algo.move_hpp"></a>Header <<a href="../../../boost/move/algo/move.hpp" target="_top">boost/move/algo/move.hpp</a>></h3></div></div></div> 207<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 208 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> O<span class="special">></span> <span class="identifier">O</span> <a class="link" href="../boost/move_1_3_26_20_12_1_1.html" title="Function template move"><span class="identifier">move</span></a><span class="special">(</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">O</span><span class="special">)</span><span class="special">;</span> 209 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> O<span class="special">></span> <span class="identifier">O</span> <a class="link" href="../boost/move_backward.html" title="Function template move_backward"><span class="identifier">move_backward</span></a><span class="special">(</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">O</span><span class="special">)</span><span class="special">;</span> 210 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> I<span class="special">,</span> <span class="keyword">typename</span> F<span class="special">></span> <span class="identifier">F</span> <a class="link" href="../boost/uninitialized_move.html" title="Function template uninitialized_move"><span class="identifier">uninitialized_move</span></a><span class="special">(</span><span class="identifier">I</span><span class="special">,</span> <span class="identifier">I</span><span class="special">,</span> <span class="identifier">F</span><span class="special">)</span><span class="special">;</span> 211<span class="special">}</span></pre> 212</div> 213<div class="section"> 214<div class="titlepage"><div><div><h3 class="title"> 215<a name="header.boost.move.traits_hpp"></a>Header <<a href="../../../boost/move/traits.hpp" target="_top">boost/move/traits.hpp</a>></h3></div></div></div> 216<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 217 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/has_nothrow_move.html" title="Struct template has_nothrow_move">has_nothrow_move</a><span class="special">;</span> 218 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/has_trivi_1_3_26_20_13_1_2.html" title="Struct template has_trivial_destructor_after_move">has_trivial_destructor_after_move</a><span class="special">;</span> 219<span class="special">}</span></pre> 220</div> 221<div class="section"> 222<div class="titlepage"><div><div><h3 class="title"> 223<a name="header.boost.move.unique_ptr_hpp"></a>Header <<a href="../../../boost/move/unique_ptr.hpp" target="_top">boost/move/unique_ptr.hpp</a>></h3></div></div></div> 224<p>Describes the smart pointer unique_ptr, a drop-in replacement for std::unique_ptr, usable also from C++03 compilers.</p> 225<p>Main differences from std::unique_ptr to avoid heavy dependencies, specially in C++03 compilers:</p> 226<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> 227<li class="listitem"><p><code class="computeroutput">operator < </code> uses pointer <code class="computeroutput">operator < </code>instead of <code class="computeroutput">std::less<common_type></code>. This avoids dependencies on <code class="computeroutput">std::common_type</code> and <code class="computeroutput">std::less</code> (<code class="computeroutput"><type_traits>/<functional></code> headers). In C++03 this avoid pulling Boost.Typeof and other cascading dependencies. As in all Boost platforms <code class="computeroutput">operator <</code> on raw pointers and other smart pointers provides strict weak ordering in practice this should not be a problem for users.</p></li> 228<li class="listitem"><p>assignable from literal 0 for compilers without nullptr</p></li> 229<li class="listitem"><p><code class="computeroutput">unique_ptr<T[]></code> is constructible and assignable from <code class="computeroutput">unique_ptr<U[]></code> if cv-less T and cv-less U are the same type and T is more CV qualified than U. </p></li> 230</ul></div> 231<p> 232</p> 233<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 234 <span class="keyword">namespace</span> <span class="identifier">movelib</span> <span class="special">{</span> 235 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D <span class="special">=</span> <a class="link" href="../boost/movelib/default_delete.html" title="Struct template default_delete">default_delete</a><span class="special"><</span><span class="identifier">T</span><span class="special">></span> <span class="special">></span> <span class="keyword">class</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special">;</span> 236 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 237 <span class="keyword">void</span> <a class="link" href="../boost/movelib/swap.html" title="Function template swap"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 238 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T1<span class="special">,</span> <span class="keyword">typename</span> D1<span class="special">,</span> <span class="keyword">typename</span> T2<span class="special">,</span> <span class="keyword">typename</span> D2<span class="special">></span> 239 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_3.html" title="Function template operator=="><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T1</span><span class="special">,</span> <span class="identifier">D1</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> 240 <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">D2</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 241 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T1<span class="special">,</span> <span class="keyword">typename</span> D1<span class="special">,</span> <span class="keyword">typename</span> T2<span class="special">,</span> <span class="keyword">typename</span> D2<span class="special">></span> 242 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_4.html" title="Function template operator!="><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T1</span><span class="special">,</span> <span class="identifier">D1</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> 243 <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">D2</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 244 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T1<span class="special">,</span> <span class="keyword">typename</span> D1<span class="special">,</span> <span class="keyword">typename</span> T2<span class="special">,</span> <span class="keyword">typename</span> D2<span class="special">></span> 245 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_5.html" title="Function template operator<"><span class="keyword">operator</span><span class="special"><</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T1</span><span class="special">,</span> <span class="identifier">D1</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> 246 <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">D2</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 247 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T1<span class="special">,</span> <span class="keyword">typename</span> D1<span class="special">,</span> <span class="keyword">typename</span> T2<span class="special">,</span> <span class="keyword">typename</span> D2<span class="special">></span> 248 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_6.html" title="Function template operator<="><span class="keyword">operator</span><span class="special"><=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T1</span><span class="special">,</span> <span class="identifier">D1</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> 249 <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">D2</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 250 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T1<span class="special">,</span> <span class="keyword">typename</span> D1<span class="special">,</span> <span class="keyword">typename</span> T2<span class="special">,</span> <span class="keyword">typename</span> D2<span class="special">></span> 251 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_7.html" title="Function template operator>"><span class="keyword">operator</span><span class="special">></span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T1</span><span class="special">,</span> <span class="identifier">D1</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> 252 <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">D2</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 253 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T1<span class="special">,</span> <span class="keyword">typename</span> D1<span class="special">,</span> <span class="keyword">typename</span> T2<span class="special">,</span> <span class="keyword">typename</span> D2<span class="special">></span> 254 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_8.html" title="Function template operator>="><span class="keyword">operator</span><span class="special">>=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T1</span><span class="special">,</span> <span class="identifier">D1</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> 255 <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T2</span><span class="special">,</span> <span class="identifier">D2</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 256 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 257 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operato_1_3_26_20_14_3_1_9.html" title="Function template operator=="><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">)</span><span class="special">;</span> 258 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 259 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_10.html" title="Function template operator=="><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 260 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 261 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_11.html" title="Function template operator!="><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">)</span><span class="special">;</span> 262 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 263 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_12.html" title="Function template operator!="><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 264 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 265 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_13.html" title="Function template operator<"><span class="keyword">operator</span><span class="special"><</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">)</span><span class="special">;</span> 266 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 267 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_14.html" title="Function template operator<"><span class="keyword">operator</span><span class="special"><</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 268 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 269 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_15.html" title="Function template operator>"><span class="keyword">operator</span><span class="special">></span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">)</span><span class="special">;</span> 270 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 271 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_16.html" title="Function template operator>"><span class="keyword">operator</span><span class="special">></span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 272 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 273 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_17.html" title="Function template operator<="><span class="keyword">operator</span><span class="special"><=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">)</span><span class="special">;</span> 274 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 275 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_18.html" title="Function template operator<="><span class="keyword">operator</span><span class="special"><=</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 276 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 277 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_19.html" title="Function template operator>="><span class="keyword">operator</span><span class="special">>=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">,</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">)</span><span class="special">;</span> 278 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">,</span> <span class="keyword">typename</span> D<span class="special">></span> 279 <span class="keyword">bool</span> <a class="link" href="../boost/movelib/operat_1_3_26_20_14_3_1_20.html" title="Function template operator>="><span class="keyword">operator</span><span class="special">>=</span></a><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">nullptr_t</span><span class="special">,</span> <span class="keyword">const</span> <a class="link" href="../boost/movelib/unique_ptr.html" title="Class template unique_ptr">unique_ptr</a><span class="special"><</span> <span class="identifier">T</span><span class="special">,</span> <span class="identifier">D</span> <span class="special">></span> <span class="special">&</span><span class="special">)</span><span class="special">;</span> 280 <span class="special">}</span> 281<span class="special">}</span></pre> 282</div> 283<div class="section"> 284<div class="titlepage"><div><div><h3 class="title"> 285<a name="header.boost.move.utility_hpp"></a>Header <<a href="../../../boost/move/utility.hpp" target="_top">boost/move/utility.hpp</a>></h3></div></div></div> 286<p>This header includes core utilities from <code class="computeroutput"><boost/move/utility_core.hpp></code> and defines some more advanced utilities such as: </p> 287<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 288 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> 289 <span class="identifier">rvalue_reference_or_const_lvalue_reference</span> 290 <a class="link" href="../boost/move_if_noexcept.html" title="Function template move_if_noexcept"><span class="identifier">move_if_noexcept</span></a><span class="special">(</span><span class="identifier">input_reference</span><span class="special">)</span><span class="special">;</span> 291<span class="special">}</span></pre> 292</div> 293<div class="section"> 294<div class="titlepage"><div><div><h3 class="title"> 295<a name="header.boost.move.utility_core_hpp"></a>Header <<a href="../../../boost/move/utility_core.hpp" target="_top">boost/move/utility_core.hpp</a>></h3></div></div></div> 296<p>This header defines core utilities to ease the development of move-aware functions. This header minimizes dependencies from other libraries. </p> 297<pre class="synopsis"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> 298 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="keyword">struct</span> <a class="link" href="../boost/enable_mo_1_3_26_20_16_2_1.html" title="Struct template enable_move_utility_emulation">enable_move_utility_emulation</a><span class="special">;</span> 299 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="identifier">rvalue_reference</span> <a class="link" href="../boost/move_1_3_26_20_16_2_2.html" title="Function template move"><span class="identifier">move</span></a><span class="special">(</span><span class="identifier">input_reference</span><span class="special">)</span><span class="special">;</span> 300 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> <span class="identifier">output_reference</span> <a class="link" href="../boost/forward.html" title="Function template forward"><span class="identifier">forward</span></a><span class="special">(</span><span class="identifier">input_reference</span><span class="special">)</span><span class="special">;</span> 301 <span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> T<span class="special">></span> 302 <span class="identifier">output_reference</span> <a class="link" href="../boost/move_if_n_1_3_26_20_16_2_4.html" title="Function template move_if_not_lvalue_reference"><span class="identifier">move_if_not_lvalue_reference</span></a><span class="special">(</span><span class="identifier">input_reference</span><span class="special">)</span><span class="special">;</span> 303<span class="special">}</span></pre> 304</div> 305</div> 306<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 307<td align="left"></td> 308<td align="right"><div class="copyright-footer">Copyright © 2008-2014 Ion Gaztanaga<p> 309 Distributed under the Boost Software License, Version 1.0. (See accompanying 310 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 311 </p> 312</div></td> 313</tr></table> 314<hr> 315<div class="spirit-nav"> 316<a accesskey="p" href="release_notes.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../move.html"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../boost/adl_move_swap.html"><img src="../../../doc/src/images/next.png" alt="Next"></a> 317</div> 318</body> 319</html> 320