-
Avoided a GCC 4.x warning about calling
memset
with a constant size of zero.
-
Fixed
-Wdeprecated-copy
warnings.
-
Added
cbegin()
and cend().
-
Simplified allocator support using Boost.Core's
allocator_access.
-
max_size()
now uses the allocator's max_size() when available.
-
Fixed the internal check for uninitialized memory when the buffer is not
wrapped.
-
Eliminated undefined-behaviour sanitizer warnings in internal pointer arithmetic.
-
Used the empty base optimization for the allocator.
-
Stopped inheriting from
std::iterator,
which is deprecated in C++17.
-
Dropped the dependency on Boost.Iterator and removed other unnecessary
includes.
-
Debug support is now disabled by default. Define
BOOST_CB_ENABLE_DEBUG
to 1 to enable it.
-
Used
move_if_noexcept from
Boost.Move.
-
C++11 allocator model support implemented by Glen Fernandes.
-
Documentation refactored by Paul A. Bristow using Quickbook, Doxygen and
Autoindexing.
-
Rvalue references emulation added by Antony Polukhin using Boost.Move.
-
Added methods erase_begin(size_type) and erase_end(size_type) with constant
complexity for such types of stored elements which do not need an explicit
destruction e.g. int or double.
-
Similarly changed implementation of the clear() method and the destructor
so their complexity is now constant for such types of stored elements which
do not require an explicit destruction (the complexity for other types
remains linear).
-
Added new methods is_linearized() and rotate(const_iterator).
-
Fixed bugs: #1987
Patch to make circular_buffer.hpp #includes absolute. #1852
Copy constructor does not copy capacity.
-
Changed behaviour of the circular_buffer(const allocator_type&) constructor.
Since this version the constructor does not allocate any memory and both
capacity and size are set to zero.
-
Fixed bug: #1919
Default constructed circular buffer throws std::bad_alloc.