• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>basic_multi_buffer::basic_multi_buffer (5 of 10 overloads)</title>
5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../../index.html" title="Chapter 1. Boost.Beast">
8<link rel="up" href="../basic_multi_buffer.html" title="basic_multi_buffer::basic_multi_buffer">
9<link rel="prev" href="overload4.html" title="basic_multi_buffer::basic_multi_buffer (4 of 10 overloads)">
10<link rel="next" href="overload6.html" title="basic_multi_buffer::basic_multi_buffer (6 of 10 overloads)">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="overload4.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_multi_buffer.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="overload6.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h6 class="title">
27<a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5"></a><a class="link" href="overload5.html" title="basic_multi_buffer::basic_multi_buffer (5 of 10 overloads)">basic_multi_buffer::basic_multi_buffer
28          (5 of 10 overloads)</a>
29</h6></div></div></div>
30<p>
31            Move Constructor.
32          </p>
33<h7><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.h0"></a>
34            <span class="phrase"><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.synopsis"></a></span><a class="link" href="overload5.html#beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.synopsis">Synopsis</a>
35          </h7><pre class="programlisting"><span class="identifier">basic_multi_buffer</span><span class="special">(</span>
36    <span class="identifier">basic_multi_buffer</span><span class="special">&amp;&amp;</span> <span class="identifier">other</span><span class="special">);</span>
37</pre>
38<h7><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.h1"></a>
39            <span class="phrase"><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.description"></a></span><a class="link" href="overload5.html#beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.description">Description</a>
40          </h7><p>
41            The container is constructed with the contents of <code class="computeroutput"><span class="identifier">other</span></code>
42            using move semantics. The maximum size will be the same as the moved-from
43            object. Buffer sequences previously obtained from <code class="computeroutput"><span class="identifier">other</span></code>
44            using <a class="link" href="../data/overload1.html" title="basic_multi_buffer::data (1 of 2 overloads)"><code class="computeroutput"><span class="identifier">data</span></code></a> or <a class="link" href="../prepare.html" title="basic_multi_buffer::prepare"><code class="computeroutput"><span class="identifier">prepare</span></code></a> remain valid after the
45            move.
46          </p>
47<h7><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.h2"></a>
48            <span class="phrase"><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.parameters"></a></span><a class="link" href="overload5.html#beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.parameters">Parameters</a>
49          </h7><div class="informaltable"><table class="table">
50<colgroup>
51<col>
52<col>
53</colgroup>
54<thead><tr>
55<th>
56                    <p>
57                      Name
58                    </p>
59                  </th>
60<th>
61                    <p>
62                      Description
63                    </p>
64                  </th>
65</tr></thead>
66<tbody><tr>
67<td>
68                    <p>
69                      <code class="computeroutput"><span class="identifier">other</span></code>
70                    </p>
71                  </td>
72<td>
73                    <p>
74                      The object to move from. After the move, the moved-from object
75                      will have zero capacity, zero readable bytes, and zero writable
76                      bytes.
77                    </p>
78                  </td>
79</tr></tbody>
80</table></div>
81<h7><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.h3"></a>
82            <span class="phrase"><a name="beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.exception_safety"></a></span><a class="link" href="overload5.html#beast.ref.boost__beast__basic_multi_buffer.basic_multi_buffer.overload5.exception_safety">Exception
83            Safety</a>
84          </h7><p>
85            No-throw guarantee.
86          </p>
87</div>
88<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
89<td align="left"></td>
90<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
91      Falco<p>
92        Distributed under the Boost Software License, Version 1.0. (See accompanying
93        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>)
94      </p>
95</div></td>
96</tr></table>
97<hr>
98<div class="spirit-nav">
99<a accesskey="p" href="overload4.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../basic_multi_buffer.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="overload6.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
100</div>
101</body>
102</html>
103