0.5.0
ring_span-lite v0.5.0 adds template parameter flag CapacityIsPowerOf2
and class ring
.
CapacityIsPowerOf2
is an extension (nsrs_CONFIG_STRICT_P0059=0
). With CapacityIsPowerOf2
being true
, method normalize_()
to compute the buffer index is optimized to use bitwise and instead of modulo division.
class ring
is a data-owning ring class. See the discussion on design at issue #20.
Additions:
- Add data-owning
class ring
(#20, thanks to @peter-moran). - Add
ring_iterator::operator->()
(#21, thanks @Lyle-Alloy, @Quuxplusone). - Add
CapacityIsPowerOf2
template parameter toclass ring_span
andclass ring
(#22, thanks @dcolascione). - Add script
test/tc-cl.bat
to compile with clang-cl (nonstd-lite-project issues 54). - Add
export()
to CMakeLists.txt enabling importing targets. - Add image Visual Studio 2019 to AppVeyor CI.
Changes:
- Handle lest test framework as system include to prevent warnings.
- Change 'on conan' link to refer to conan center.
Fixes:
- none