Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ constant-time insertion and removal at either end, and it works with the
standard algorithms. Once its capacity is set, it doesn't allocate memory
until you change the capacity yourself.

![circular_buffer](doc/images/circular_buffer.png)
![A circular buffer: items stored clockwise from begin() to end(), with free space beyond](doc/images/circular_buffer.svg)

```cpp
#include <boost/circular_buffer.hpp>
Expand Down
4 changes: 2 additions & 2 deletions doc/circular_buffer.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ The __cb only allocates memory when created,
when the capacity is adjusted explicitly,
or as necessary to accommodate resizing or assign operations.

[$../../libs/circular_buffer/doc/images/circular_buffer.png]
[$../../libs/circular_buffer/doc/images/circular_buffer.svg]

There is also a __cbso version available.

[$../../libs/circular_buffer/doc/images/space_optimized.png]
[$../../libs/circular_buffer/doc/images/space_optimized.svg]

__cbso is an adaptation of the __cb
which [*does not allocate memory all at once when created],
Expand Down
Binary file removed doc/images/circular_buffer.png
Binary file not shown.
54 changes: 54 additions & 0 deletions doc/images/circular_buffer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/images/space_optimized.png
Binary file not shown.
72 changes: 72 additions & 0 deletions doc/images/space_optimized.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ doxygen autodoc
# BOOST_DEDUCED_TYPENAME will be replaced by "typename",
# BOOST_CONSTEXPR will be replaced by "constexpr".
<doxygen:param>EXCLUDE_SYMBOLS=*_throws
# <doxygen:param>IMAGE_PATH="../images" # for circular_buffer.png
# <doxygen:param>IMAGE_PATH="../images" # for circular_buffer.svg
# See autodoxywarnings.log to check this is correct.

# The syntax hoops to jump through are 'interesting' for more than one PREDEFINED,
Expand Down
Loading