diff options
Diffstat (limited to 'doc/html/circular_buffer/implementation.html')
-rw-r--r-- | doc/html/circular_buffer/implementation.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/circular_buffer/implementation.html b/doc/html/circular_buffer/implementation.html index 8761495da3..c54c6b10ed 100644 --- a/doc/html/circular_buffer/implementation.html +++ b/doc/html/circular_buffer/implementation.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../circular_buffer.html" title="Chapter 9. Boost.Circular Buffer"> +<link rel="up" href="../circular_buffer.html" title="Chapter 8. Boost.Circular Buffer"> <link rel="prev" href="rationale.html" title="Rationale"> <link rel="next" href="examples.html" title="More Examples"> </head> @@ -147,13 +147,13 @@ </ul></div> <p> It is considered to be a bug to read or remove an element (e.g. by calling - <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp25213616-bb">front()</a></code> or - <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp25688048-bb">pop_back()</a></code>) + <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp20887968-bb">front()</a></code> or + <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp21362400-bb">pop_back()</a></code>) from an empty std container and from an empty <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html" title="Class template circular_buffer">circular_buffer</a></code> as well. The data consumer has to test if the container is not empty before - reading/removing from it by testing <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp25385824-bb">empty()</a></code>. + reading/removing from it by testing <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp21060176-bb">empty()</a></code>. However, when reading from the <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html" title="Class template circular_buffer">circular_buffer</a></code>, - there is an option to rely on the <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp25192304-bb">at()</a></code> + there is an option to rely on the <code class="computeroutput"><a class="link" href="../boost/circular_buffer.html#idp20866656-bb">at()</a></code> method which throws an exception when the index is out of range. </p> <h4> |