Files
circular_buffer/doc/srcdoc/classboost_1_1circular__buffer__space__optimized.html
Jan Gaspar d8021d4ff2 Initial revision.
[SVN r2447]
2005-01-19 09:45:55 +00:00

2016 lines
99 KiB
HTML
Raw Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title> Templateboost::circular_buffer_space_optimized&lt; T, Alloc &gt; class Reference</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<table ID="Table Header" border="1" bgcolor="#007F7F" cellpadding="2">
<tr>
<td bgcolor="#FFFFFF"><img src="../../../../c++boost.gif" width="277" height="86"></td>
<td><a href="http://boost.org"><font face="Arial" color="FFFFFF"><big>Home</big></font></a></td>
<td><a href="http://boost.org/libs/libraries.htm"><font face="Arial" color="FFFFFF"><big>Libraries</big></font></a></td>
<td><a href="http://boost.org/people/people.htm"><font face="Arial" color="FFFFFF"><big>People</big></font></a></td>
<td><a href="http://boost.org/more/faq.htm"><font face="Arial" color="FFFFFF"><big>FAQ</big></font></a></td>
<td><a href="http://boost.org/more/index.htm"><font face="Arial" color="FFFFFF"><big>More</big></font></a></td>
</tr>
</table>
<br>
<!-- Generated by Doxygen 1.3.5 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div>
<h1>boost::circular_buffer_space_optimized&lt; T, Alloc &gt; Class Template Reference</h1>Space optimized circular buffer container adaptor.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="adaptor_8hpp-source.html">adaptor.hpp</a>&gt;</code>
<p>
Inherits <a class="el" href="classboost_1_1circular__buffer.html">boost::circular_buffer&lt; T, Alloc &gt;&lt; T, Alloc &gt;</a>.
<p>
<a href="classboost_1_1circular__buffer__space__optimized-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">value_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w0">value_type</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The type of the elements stored in the circular buffer. <a href="#w0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">pointer</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w1">pointer</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pointer to the element. <a href="#w1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_pointer</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w2">const_pointer</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Const pointer to the element. <a href="#w2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">reference</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w3">reference</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reference to the element. <a href="#w3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_reference</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w4">const_reference</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Const reference to the element. <a href="#w4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w5">size_type</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size type. <a href="#w5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">difference_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w6">difference_type</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Distance type. <a href="#w6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w7">allocator_type</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The type of the allocator used in the circular buffer. <a href="#w7"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w9">const_iterator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Const (random access) iterator used to iterate through a circular buffer. <a href="#w9"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w10">iterator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterator (random access) used to iterate through a circular buffer. <a href="#w10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_reverse_iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w11">const_reverse_iterator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Const iterator used to iterate backwards through a circular buffer. <a href="#w11"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt; T,<br>
Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">reverse_iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#w12">reverse_iterator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Iterator used to iterate backwards through a circular buffer. <a href="#w12"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">reference</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a0">operator[]</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> n)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the element at the <code>index</code> position. <a href="#a0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>return_value_type&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a1">operator[]</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> n) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the element at the <code>index</code> position. <a href="#a1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a2">full</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a3">min_capacity</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the minimal guaranteed amount of allocated memory. <a href="#a3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a4">set_min_capacity</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> new_min_capacity)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Change the minimal guaranteed amount of allocated memory. <a href="#a4"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a5">capacity</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a6">internal_capacity</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current capacity of the adapted circular buffer. <a href="#a6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a7">set_capacity</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> new_capacity, bool remove_front=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a7"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a8">resize</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> new_size, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item=T(), bool remove_front=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a8"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a9">circular_buffer_space_optimized</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> capacity, <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> min_capacity=0, const <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> &amp;alloc=<a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>())</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an empty space optimized circular buffer with a given capacity. <a href="#a9"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a10">circular_buffer_space_optimized</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> capacity, <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> min_capacity, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item, const <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> &amp;alloc=<a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>())</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a full space optimized circular buffer filled with copies of <code>item</code>. <a href="#a10"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;class InputIterator&gt; &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a11">circular_buffer_space_optimized</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> capacity, <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> min_capacity, InputIterator first, InputIterator last, const <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> &amp;alloc=<a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>())</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a space optimized circular buffer with a copy of a range. <a href="#a11"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a12">assign</a> (<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> n, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a12"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;class InputIterator&gt; void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a13">assign</a> (InputIterator first, InputIterator last)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a13"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a14">swap</a> (<a class="el" href="classboost_1_1circular__buffer__space__optimized.html">circular_buffer_space_optimized</a> &amp;cb)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a14"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a15">push_back</a> (<a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a15"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a16">push_back</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a16"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a17">push_front</a> (<a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a17"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a18">push_front</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a18"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a19">pop_back</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a19"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a20">pop_front</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a20"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a21">insert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a21"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a22">insert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a22"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a23">insert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos, <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> n, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a23"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;class InputIterator&gt; void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a24">insert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos, InputIterator first, InputIterator last)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a24"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a25">rinsert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a25"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a26">rinsert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a26"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a27">rinsert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos, <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> n, <a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a> item)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a27"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>template&lt;class InputIterator&gt; void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a28">rinsert</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos, InputIterator first, InputIterator last)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a28"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a29">erase</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> pos)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a29"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a30">erase</a> (<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> first, <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> last)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a30"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a31">clear</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation. <a href="#a31"></a><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T, class Alloc&gt;<br>
class boost::circular_buffer_space_optimized&lt; T, Alloc &gt;</h3>
Space optimized circular buffer container adaptor.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>T</em>&nbsp;</td><td>The type of the elements stored in the space optimized circular buffer. </td></tr>
<tr><td valign=top><em>Alloc</em>&nbsp;</td><td>The allocator type used for all internal memory management. </td></tr>
</table>
</dl>
<dl compact><dt><b>Author:</b></dt><dd><a href="mailto:jano_gaspar[at]yahoo.com">Jan Gaspar</a> </dd></dl>
<dl compact><dt><b>Version:</b></dt><dd>1.3 </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>2004</dd></dl>
For more information how to use the space optimized circular buffer see the <a href="../circular_buffer_adaptor.html">documentation</a>.
<p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="w7" doxytag="boost::circular_buffer_space_optimized::allocator_type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The type of the allocator used in the circular buffer.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w7">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w9" doxytag="boost::circular_buffer_space_optimized::const_iterator" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_iterator</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Const (random access) iterator used to iterate through a circular buffer.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w10">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w2" doxytag="boost::circular_buffer_space_optimized::const_pointer" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_pointer</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_pointer</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Const pointer to the element.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w2">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w4" doxytag="boost::circular_buffer_space_optimized::const_reference" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_reference</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_reference</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Const reference to the element.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w4">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w11" doxytag="boost::circular_buffer_space_optimized::const_reverse_iterator" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_reverse_iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">const_reverse_iterator</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Const iterator used to iterate backwards through a circular buffer.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w12">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w6" doxytag="boost::circular_buffer_space_optimized::difference_type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">difference_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">difference_type</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Distance type.
<p>
A signed integral type used to represent the distance between two iterators.
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w5">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w10" doxytag="boost::circular_buffer_space_optimized::iterator" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">iterator</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Iterator (random access) used to iterate through a circular buffer.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w11">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w1" doxytag="boost::circular_buffer_space_optimized::pointer" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">pointer</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">pointer</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Pointer to the element.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w1">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w3" doxytag="boost::circular_buffer_space_optimized::reference" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">reference</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">reference</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Reference to the element.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w3">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w12" doxytag="boost::circular_buffer_space_optimized::reverse_iterator" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">reverse_iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">reverse_iterator</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Iterator used to iterate backwards through a circular buffer.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w13">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w5" doxytag="boost::circular_buffer_space_optimized::size_type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">size_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">size_type</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Size type.
<p>
An unsigned integral type that can represent any nonnegative value of the container's distance type.
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w6">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="w0" doxytag="boost::circular_buffer_space_optimized::value_type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> typedef <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>&lt;T, Alloc&gt;::<a class="el" href="classboost_1_1circular__buffer.html">value_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer.html">value_type</a>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The type of the elements stored in the circular buffer.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#w0">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a9" doxytag="boost::circular_buffer_space_optimized::circular_buffer_space_optimized" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer__space__optimized.html">circular_buffer_space_optimized</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>capacity</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>min_capacity</em> = 0, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>alloc</em> = <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>()</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline, explicit]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create an empty space optimized circular buffer with a given capacity.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>capacity</em>&nbsp;</td><td>The capacity of the buffer. </td></tr>
<tr><td valign=top><em>min_capacity</em>&nbsp;</td><td>The minimal guaranteed amount of allocated memory. (The metrics of the min_capacity is number of items.) </td></tr>
<tr><td valign=top><em>alloc</em>&nbsp;</td><td>The allocator. </td></tr>
</table>
</dl>
<dl compact><dt><b>Precondition:</b></dt><dd><code>capacity &gt;= min_capacity</code> </dd></dl>
<dl compact><dt><b>Postcondition:</b></dt><dd><code>(*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a5">capacity()</a> == capacity &amp;&amp; (*this).size == 0</code><br>
Allocates memory specified by the <code>min_capacity</code> parameter. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>An allocation error</em>&nbsp;</td><td>if memory is exhausted (<code>std::bad_alloc</code> if standard allocator is used). </td></tr>
</table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>It is considered as a bug if the precondition is not met (i.e. if <code>capacity &lt; min_capacity</code>) and an assertion will be invoked in the debug mode. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a10" doxytag="boost::circular_buffer_space_optimized::circular_buffer_space_optimized" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer__space__optimized.html">circular_buffer_space_optimized</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>capacity</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>min_capacity</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>alloc</em> = <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>()</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a full space optimized circular buffer filled with copies of <code>item</code>.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>capacity</em>&nbsp;</td><td>The capacity of the buffer. </td></tr>
<tr><td valign=top><em>min_capacity</em>&nbsp;</td><td>The minimal guaranteed amount of allocated memory. (The metrics of the min_capacity is number of items.) </td></tr>
<tr><td valign=top><em>item</em>&nbsp;</td><td>The item to be filled with. </td></tr>
<tr><td valign=top><em>alloc</em>&nbsp;</td><td>The allocator. </td></tr>
</table>
</dl>
<dl compact><dt><b>Precondition:</b></dt><dd><code>capacity &gt;= min_capacity</code> </dd></dl>
<dl compact><dt><b>Postcondition:</b></dt><dd><code>(*this).<a class="el" href="classboost_1_1circular__buffer.html#a19">size()</a> == capacity &amp;&amp; (*this)[0] == (*this)[1] == ... == (*this).<a class="el" href="classboost_1_1circular__buffer.html#a15">back()</a> == item</code> </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>An allocation error</em>&nbsp;</td><td>if memory is exhausted (<code>std::bad_alloc</code> if standard allocator is used). </td></tr>
<tr><td valign=top><em>Whatever</em>&nbsp;</td><td>T::T(const T&amp;) throws. </td></tr>
</table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>It is considered as a bug if the precondition is not met (i.e. if <code>capacity &lt; min_capacity</code>) and an assertion will be invoked in the debug mode. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a11" doxytag="boost::circular_buffer_space_optimized::circular_buffer_space_optimized" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" colspan="4">
template&lt;class InputIterator&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::<a class="el" href="classboost_1_1circular__buffer__space__optimized.html">circular_buffer_space_optimized</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>capacity</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>min_capacity</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>first</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>last</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a> &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>alloc</em> = <a class="el" href="classboost_1_1circular__buffer.html">allocator_type</a>()</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Create a space optimized circular buffer with a copy of a range.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>capacity</em>&nbsp;</td><td>The capacity of the buffer. </td></tr>
<tr><td valign=top><em>min_capacity</em>&nbsp;</td><td>The minimal guaranteed amount of allocated memory. (The metrics of the min_capacity is number of items.) </td></tr>
<tr><td valign=top><em>first</em>&nbsp;</td><td>The beginning of the range. </td></tr>
<tr><td valign=top><em>last</em>&nbsp;</td><td>The end of the range. </td></tr>
<tr><td valign=top><em>alloc</em>&nbsp;</td><td>The allocator. </td></tr>
</table>
</dl>
<dl compact><dt><b>Precondition:</b></dt><dd><code>capacity &gt;= min_capacity</code> and valid range <code>[first, last)</code>. </dd></dl>
<dl compact><dt><b>Postcondition:</b></dt><dd><code>(*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a5">capacity()</a> == capacity</code><br>
Allocates at least as much memory as specified by the <code>min_capacity</code> parameter.<br>
If the number of items to copy from the range <code>[first, last)</code> is greater than the specified <code>capacity</code> then only elements from the range <code>[last - capacity, last)</code> will be copied. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign=top><em>An allocation error</em>&nbsp;</td><td>if memory is exhausted (<code>std::bad_alloc</code> if standard allocator is used). </td></tr>
<tr><td valign=top><em>Whatever</em>&nbsp;</td><td>T::T(const T&amp;) throws. </td></tr>
</table>
</dl>
<dl compact><dt><b>Note:</b></dt><dd>It is considered as a bug if the precondition is not met (i.e. if <code>capacity &lt; min_capacity</code>) and an assertion will be invoked in the debug mode. </dd></dl>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a13" doxytag="boost::circular_buffer_space_optimized::assign" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" colspan="4">
template&lt;class InputIterator&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::assign </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>first</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>last</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a33">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a12" doxytag="boost::circular_buffer_space_optimized::assign" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::assign </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>n</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a32">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a5" doxytag="boost::circular_buffer_space_optimized::capacity" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::capacity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a23">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a31" doxytag="boost::circular_buffer_space_optimized::clear" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::clear </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a51">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a30" doxytag="boost::circular_buffer_space_optimized::erase" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::erase </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>first</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>last</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a50">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a29" doxytag="boost::circular_buffer_space_optimized::erase" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::erase </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a49">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a2" doxytag="boost::circular_buffer_space_optimized::full" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> bool <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::full </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a22">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a24" doxytag="boost::circular_buffer_space_optimized::insert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" colspan="4">
template&lt;class InputIterator&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::insert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pos</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>first</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>last</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a44">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a23" doxytag="boost::circular_buffer_space_optimized::insert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::insert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pos</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>n</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a43">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a22" doxytag="boost::circular_buffer_space_optimized::insert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::insert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a42">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a21" doxytag="boost::circular_buffer_space_optimized::insert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::insert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pos</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a41">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a6" doxytag="boost::circular_buffer_space_optimized::internal_capacity" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::internal_capacity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return the current capacity of the adapted circular buffer.
<p>
<dl compact><dt><b>Note:</b></dt><dd>This method is not intended to be used directly by the user. It is defined only for testing purposes. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a3" doxytag="boost::circular_buffer_space_optimized::min_capacity" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">size_type</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::min_capacity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return the minimal guaranteed amount of allocated memory.
<p>
The allocated memory will never drop under this value. </td>
</tr>
</table>
<a class="anchor" name="a1" doxytag="boost::circular_buffer_space_optimized::operator[]" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> return_value_type <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::operator[] </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>n</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return the element at the <code>index</code> position.
<p>
<dl compact><dt><b>Precondition:</b></dt><dd><code>*(this).<a class="el" href="classboost_1_1circular__buffer.html#a19">size()</a> &gt; index</code> </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a11">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a0" doxytag="boost::circular_buffer_space_optimized::operator[]" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">reference</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::operator[] </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>n</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Return the element at the <code>index</code> position.
<p>
<dl compact><dt><b>Precondition:</b></dt><dd><code>*(this).<a class="el" href="classboost_1_1circular__buffer.html#a19">size()</a> &gt; index</code> </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a10">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a19" doxytag="boost::circular_buffer_space_optimized::pop_back" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::pop_back </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a39">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a20" doxytag="boost::circular_buffer_space_optimized::pop_front" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::pop_front </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a40">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a16" doxytag="boost::circular_buffer_space_optimized::push_back" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::push_back </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a36">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a15" doxytag="boost::circular_buffer_space_optimized::push_back" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::push_back </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>item</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a35">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a18" doxytag="boost::circular_buffer_space_optimized::push_front" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::push_front </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a38">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a17" doxytag="boost::circular_buffer_space_optimized::push_front" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::push_front </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>item</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a37">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a8" doxytag="boost::circular_buffer_space_optimized::resize" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::resize </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>new_size</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em> = T(), </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap> <em>remove_front</em> = true</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a25">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a28" doxytag="boost::circular_buffer_space_optimized::rinsert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" colspan="4">
template&lt;class InputIterator&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::rinsert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pos</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>first</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>InputIterator&nbsp;</td>
<td class="mdname" nowrap> <em>last</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a48">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a27" doxytag="boost::circular_buffer_space_optimized::rinsert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::rinsert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pos</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>n</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a47">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a26" doxytag="boost::circular_buffer_space_optimized::rinsert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::rinsert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>pos</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a46">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a25" doxytag="boost::circular_buffer_space_optimized::rinsert" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="classboost_1_1circular__buffer.html">iterator</a> <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::rinsert </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">iterator</a>&nbsp;</td>
<td class="mdname" nowrap> <em>pos</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="classboost_1_1circular__buffer.html">param_value_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>item</em></td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>The rules for iterator invalidation differ from the original <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a>. See the <a href="../circular_buffer_adaptor.html#invalidation">documentation</a>. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a45">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a7" doxytag="boost::circular_buffer_space_optimized::set_capacity" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::set_capacity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname" nowrap> <em>new_capacity</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap> <em>remove_front</em> = true</td>
</tr>
<tr>
<td></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
<dl compact><dt><b>Precondition:</b></dt><dd><code>(*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a3">min_capacity()</a> &lt;= new_capacity</code> </dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>It is considered as a bug if the precondition is not met (i.e. if <code>new_capacity &gt; (*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a3">min_capacity()</a></code>) and an assertion will be invoked in the debug mode. </dd></dl>
<p>
Reimplemented from <a class="el" href="classboost_1_1circular__buffer.html#a24">boost::circular_buffer&lt; T, Alloc &gt;</a>. </td>
</tr>
</table>
<a class="anchor" name="a4" doxytag="boost::circular_buffer_space_optimized::set_min_capacity" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::set_min_capacity </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer.html">size_type</a>&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>new_min_capacity</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Change the minimal guaranteed amount of allocated memory.
<p>
<dl compact><dt><b>Precondition:</b></dt><dd><code>(*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a5">capacity()</a> &gt;= new_min_capacity</code> </dd></dl>
<dl compact><dt><b>Postcondition:</b></dt><dd><code>(*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a3">min_capacity()</a> == new_min_capacity</code> Allocates memory specified by the <code>new_min_capacity</code> parameter. </dd></dl>
<dl compact><dt><b>Note:</b></dt><dd>It is considered as a bug if the precondition is not met (i.e. if <code>new_min_capacity &gt; (*this).<a class="el" href="classboost_1_1circular__buffer__space__optimized.html#a5">capacity()</a></code>) and an assertion will be invoked in the debug mode. </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="a14" doxytag="boost::circular_buffer_space_optimized::swap" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class T, class Alloc&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"> void <a class="el" href="classboost_1_1circular__buffer__space__optimized.html">boost::circular_buffer_space_optimized</a>&lt; T, Alloc &gt;::swap </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classboost_1_1circular__buffer__space__optimized.html">circular_buffer_space_optimized</a>&lt; T, Alloc &gt; &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>cb</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
See the <a class="el" href="classboost_1_1circular__buffer.html">circular_buffer</a> source documentation.
<p>
</td>
</tr>
</table>
<hr>
<table id="Table Footer" width="100%" border="0">
<tr>
<td valign="top"><small>Copyright <20> 2003-2004 <A href="mailto:jano_gaspar[at]yahoo.com">Jan
Gaspar</A></small></td>
<td align="center"><img width="277" height="86" src="../../../../c++boost.gif"></td>
<td align="right" valign="top"><small>Generated by <a href="http://www.doxygen.org">doxygen
1.3.5</a>.</small></td>
</tr>
</table>
</body>
</html>