3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>http::span_body::value_type</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="../boost__beast__http__span_body.html" title="http::span_body">
9 <link rel="prev" href="size.html" title="http::span_body::size">
10 <link rel="next" href="writer.html" title="http::span_body::writer">
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>
22 <div class="spirit-nav">
23 <a accesskey="p" href="size.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__beast__http__span_body.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="writer.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h5 class="title">
27 <a name="beast.ref.boost__beast__http__span_body.value_type"></a><a class="link" href="value_type.html" title="http::span_body::value_type">http::span_body::value_type</a>
28 </h5></div></div></div>
30 <a class="indexterm" name="idm45873490345872"></a>
31 The type of container used for the body.
34 <a name="beast.ref.boost__beast__http__span_body.value_type.h0"></a>
35 <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.synopsis"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.synopsis">Synopsis</a>
37 <pre class="programlisting"><span class="keyword">using</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">span</span><span class="special"><</span> <span class="identifier">T</span> <span class="special">>;</span>
40 <a name="beast.ref.boost__beast__http__span_body.value_type.h1"></a>
41 <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.types"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.types">Types</a>
43 <div class="informaltable"><table class="table">
64 <a class="link" href="../boost__beast__span/const_iterator.html" title="span::const_iterator"><span class="bold"><strong>const_iterator</strong></span></a>
69 The const iterator used by the container.
76 <a class="link" href="../boost__beast__span/const_pointer.html" title="span::const_pointer"><span class="bold"><strong>const_pointer</strong></span></a>
81 The const pointer used by the container.
88 <a class="link" href="../boost__beast__span/const_reference.html" title="span::const_reference"><span class="bold"><strong>const_reference</strong></span></a>
93 The const reference used by the container.
100 <a class="link" href="../boost__beast__span/element_type.html" title="span::element_type"><span class="bold"><strong>element_type</strong></span></a>
105 The type of value, including cv qualifiers.
112 <a class="link" href="../boost__beast__span/index_type.html" title="span::index_type"><span class="bold"><strong>index_type</strong></span></a>
117 The type of integer used to index the span.
124 <a class="link" href="../boost__beast__span/iterator.html" title="span::iterator"><span class="bold"><strong>iterator</strong></span></a>
129 The iterator used by the container.
136 <a class="link" href="../boost__beast__span/pointer.html" title="span::pointer"><span class="bold"><strong>pointer</strong></span></a>
141 A pointer to a span element.
148 <a class="link" href="../boost__beast__span/reference.html" title="span::reference"><span class="bold"><strong>reference</strong></span></a>
153 A reference to a span element.
160 <a class="link" href="../boost__beast__span/value_type.html" title="span::value_type"><span class="bold"><strong>value_type</strong></span></a>
165 The type of value of each span element.
172 <a name="beast.ref.boost__beast__http__span_body.value_type.h2"></a>
173 <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.member_functions"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.member_functions">Member
176 <div class="informaltable"><table class="table">
197 <a class="link" href="../boost__beast__span/begin.html" title="span::begin"><span class="bold"><strong>begin</strong></span></a>
202 Returns an iterator to the beginning of the span.
209 <a class="link" href="../boost__beast__span/cbegin.html" title="span::cbegin"><span class="bold"><strong>cbegin</strong></span></a>
214 Returns an iterator to the beginning of the span.
221 <a class="link" href="../boost__beast__span/cend.html" title="span::cend"><span class="bold"><strong>cend</strong></span></a>
226 Returns an iterator to one past the end of the span.
233 <a class="link" href="../boost__beast__span/data.html" title="span::data"><span class="bold"><strong>data</strong></span></a>
238 Returns a pointer to the beginning of the span.
245 <a class="link" href="../boost__beast__span/empty.html" title="span::empty"><span class="bold"><strong>empty</strong></span></a>
250 Returns true if the span is empty.
257 <a class="link" href="../boost__beast__span/end.html" title="span::end"><span class="bold"><strong>end</strong></span></a>
262 Returns an iterator to one past the end of the span.
269 <a class="link" href="../boost__beast__span/operator_eq_.html" title="span::operator="><span class="bold"><strong>operator=</strong></span></a>
281 <a class="link" href="../boost__beast__span/size.html" title="span::size"><span class="bold"><strong>size</strong></span></a>
286 Returns the number of elements in the span.
293 <a class="link" href="../boost__beast__span/span.html" title="span::span"><span class="bold"><strong>span</strong></span></a>
305 This class implements a non-owning reference to a storage area of a certain
306 size and having an underlying integral type with size of 1.
309 <a name="beast.ref.boost__beast__http__span_body.value_type.h3"></a>
310 <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.template_parameters"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.template_parameters">Template
313 <div class="informaltable"><table class="table">
333 <code class="computeroutput"><span class="identifier">T</span></code>
338 The type pointed to by span iterators
344 <a name="beast.ref.boost__beast__http__span_body.value_type.h4"></a>
345 <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.description"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.description">Description</a>
348 This determines the type of <a class="link" href="../boost__beast__http__message/body.html" title="http::message::body"><code class="computeroutput"><span class="identifier">http</span><span class="special">::</span><span class="identifier">message</span><span class="special">::</span><span class="identifier">body</span></code></a> when this body type is used
349 with a message container.
352 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
353 <td align="left"></td>
354 <td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
356 Distributed under the Boost Software License, Version 1.0. (See accompanying
357 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>)
362 <div class="spirit-nav">
363 <a accesskey="p" href="size.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__beast__http__span_body.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="writer.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>