1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>null_buffers</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="../../boost_asio.html" title="Boost.Asio"> 8<link rel="up" href="../reference.html" title="Reference"> 9<link rel="prev" href="mutable_buffers_1/value_type.html" title="mutable_buffers_1::value_type"> 10<link rel="next" href="null_buffers/begin.html" title="null_buffers::begin"> 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="mutable_buffers_1/value_type.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="null_buffers/begin.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h3 class="title"> 27<a name="boost_asio.reference.null_buffers"></a><a class="link" href="null_buffers.html" title="null_buffers">null_buffers</a> 28</h3></div></div></div> 29<p> 30 (Deprecated: Use the socket/descriptor wait() and async_wait() member functions.) 31 An implementation of both the ConstBufferSequence and MutableBufferSequence 32 concepts to represent a null buffer sequence. 33 </p> 34<pre class="programlisting">class null_buffers 35</pre> 36<h5> 37<a name="boost_asio.reference.null_buffers.h0"></a> 38 <span class="phrase"><a name="boost_asio.reference.null_buffers.types"></a></span><a class="link" href="null_buffers.html#boost_asio.reference.null_buffers.types">Types</a> 39 </h5> 40<div class="informaltable"><table class="table"> 41<colgroup> 42<col> 43<col> 44</colgroup> 45<thead><tr> 46<th> 47 <p> 48 Name 49 </p> 50 </th> 51<th> 52 <p> 53 Description 54 </p> 55 </th> 56</tr></thead> 57<tbody> 58<tr> 59<td> 60 <p> 61 <a class="link" href="null_buffers/const_iterator.html" title="null_buffers::const_iterator"><span class="bold"><strong>const_iterator</strong></span></a> 62 </p> 63 </td> 64<td> 65 <p> 66 A random-access iterator type that may be used to read elements. 67 </p> 68 </td> 69</tr> 70<tr> 71<td> 72 <p> 73 <a class="link" href="null_buffers/value_type.html" title="null_buffers::value_type"><span class="bold"><strong>value_type</strong></span></a> 74 </p> 75 </td> 76<td> 77 <p> 78 The type for each element in the list of buffers. 79 </p> 80 </td> 81</tr> 82</tbody> 83</table></div> 84<h5> 85<a name="boost_asio.reference.null_buffers.h1"></a> 86 <span class="phrase"><a name="boost_asio.reference.null_buffers.member_functions"></a></span><a class="link" href="null_buffers.html#boost_asio.reference.null_buffers.member_functions">Member 87 Functions</a> 88 </h5> 89<div class="informaltable"><table class="table"> 90<colgroup> 91<col> 92<col> 93</colgroup> 94<thead><tr> 95<th> 96 <p> 97 Name 98 </p> 99 </th> 100<th> 101 <p> 102 Description 103 </p> 104 </th> 105</tr></thead> 106<tbody> 107<tr> 108<td> 109 <p> 110 <a class="link" href="null_buffers/begin.html" title="null_buffers::begin"><span class="bold"><strong>begin</strong></span></a> 111 </p> 112 </td> 113<td> 114 <p> 115 Get a random-access iterator to the first element. 116 </p> 117 </td> 118</tr> 119<tr> 120<td> 121 <p> 122 <a class="link" href="null_buffers/end.html" title="null_buffers::end"><span class="bold"><strong>end</strong></span></a> 123 </p> 124 </td> 125<td> 126 <p> 127 Get a random-access iterator for one past the last element. 128 </p> 129 </td> 130</tr> 131</tbody> 132</table></div> 133<h5> 134<a name="boost_asio.reference.null_buffers.h2"></a> 135 <span class="phrase"><a name="boost_asio.reference.null_buffers.requirements"></a></span><a class="link" href="null_buffers.html#boost_asio.reference.null_buffers.requirements">Requirements</a> 136 </h5> 137<p> 138 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/buffer.hpp</code> 139 </p> 140<p> 141 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 142 </p> 143</div> 144<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 145<td align="left"></td> 146<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 147 Kohlhoff<p> 148 Distributed under the Boost Software License, Version 1.0. (See accompanying 149 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>) 150 </p> 151</div></td> 152</tr></table> 153<hr> 154<div class="spirit-nav"> 155<a accesskey="p" href="mutable_buffers_1/value_type.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../reference.html"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../boost_asio.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="null_buffers/begin.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 156</div> 157</body> 158</html> 159