1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>buffer_sequence_end</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="buffer_sequence_begin/overload4.html" title="buffer_sequence_begin (4 of 4 overloads)"> 10<link rel="next" href="buffer_sequence_end/overload1.html" title="buffer_sequence_end (1 of 4 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="buffer_sequence_begin/overload4.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="buffer_sequence_end/overload1.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.buffer_sequence_end"></a><a class="link" href="buffer_sequence_end.html" title="buffer_sequence_end">buffer_sequence_end</a> 28</h3></div></div></div> 29<p> 30 <a class="indexterm" name="boost_asio.indexterm.buffer_sequence_end"></a> 31The <code class="computeroutput">boost::asio::buffer_sequence_end</code> 32 function returns an iterator pointing to one past the end element in a buffer 33 sequence. 34 </p> 35<p> 36 Get an iterator to one past the end element in a buffer sequence. 37 </p> 38<pre class="programlisting">template< 39 typename MutableBuffer> 40const mutable_buffer * <a class="link" href="buffer_sequence_end/overload1.html" title="buffer_sequence_end (1 of 4 overloads)">buffer_sequence_end</a>( 41 const MutableBuffer & b, 42 typename enable_if< is_convertible< const MutableBuffer *, const mutable_buffer * >::value >::type * = 0); 43 <span class="emphasis"><em>» <a class="link" href="buffer_sequence_end/overload1.html" title="buffer_sequence_end (1 of 4 overloads)">more...</a></em></span> 44 45template< 46 typename ConstBuffer> 47const const_buffer * <a class="link" href="buffer_sequence_end/overload2.html" title="buffer_sequence_end (2 of 4 overloads)">buffer_sequence_end</a>( 48 const ConstBuffer & b, 49 typename enable_if< is_convertible< const ConstBuffer *, const const_buffer * >::value >::type * = 0); 50 <span class="emphasis"><em>» <a class="link" href="buffer_sequence_end/overload2.html" title="buffer_sequence_end (2 of 4 overloads)">more...</a></em></span> 51 52template< 53 typename C> 54auto <a class="link" href="buffer_sequence_end/overload3.html" title="buffer_sequence_end (3 of 4 overloads)">buffer_sequence_end</a>( 55 C & c, 56 typename enable_if< !is_convertible< const C *, const mutable_buffer * >::value &&!is_convertible< const C *, const const_buffer * >::value >::type * = 0); 57 <span class="emphasis"><em>» <a class="link" href="buffer_sequence_end/overload3.html" title="buffer_sequence_end (3 of 4 overloads)">more...</a></em></span> 58 59template< 60 typename C> 61auto <a class="link" href="buffer_sequence_end/overload4.html" title="buffer_sequence_end (4 of 4 overloads)">buffer_sequence_end</a>( 62 const C & c, 63 typename enable_if< !is_convertible< const C *, const mutable_buffer * >::value &&!is_convertible< const C *, const const_buffer * >::value >::type * = 0); 64 <span class="emphasis"><em>» <a class="link" href="buffer_sequence_end/overload4.html" title="buffer_sequence_end (4 of 4 overloads)">more...</a></em></span> 65</pre> 66<h5> 67<a name="boost_asio.reference.buffer_sequence_end.h0"></a> 68 <span class="phrase"><a name="boost_asio.reference.buffer_sequence_end.requirements"></a></span><a class="link" href="buffer_sequence_end.html#boost_asio.reference.buffer_sequence_end.requirements">Requirements</a> 69 </h5> 70<p> 71 <span class="emphasis"><em>Header: </em></span><code class="literal">boost/asio/buffer.hpp</code> 72 </p> 73<p> 74 <span class="emphasis"><em>Convenience header: </em></span><code class="literal">boost/asio.hpp</code> 75 </p> 76</div> 77<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 78<td align="left"></td> 79<td align="right"><div class="copyright-footer">Copyright © 2003-2020 Christopher M. 80 Kohlhoff<p> 81 Distributed under the Boost Software License, Version 1.0. (See accompanying 82 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>) 83 </p> 84</div></td> 85</tr></table> 86<hr> 87<div class="spirit-nav"> 88<a accesskey="p" href="buffer_sequence_begin/overload4.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="buffer_sequence_end/overload1.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a> 89</div> 90</body> 91</html> 92