ring-span lite - A C++yy-like ring_span type for C++98, C++11 and later in a single-file header-only library
ring_span-lite v0.6.0 adds a compile-time configuration flag to benefit from empty base-class optimization for the popper, and adds tweak header support.
Additions:
nsrs_CONFIG_POPPER_EMPTY_BASE_CLASS
to make the popper a base class of class ring_span
instead of a member (#23, thanks @dcolascione, @Quuxplusone).Changes:
Fixes:
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:
class ring
(#20, thanks to @peter-moran).ring_iterator::operator->()
(#21, thanks @Lyle-Alloy, @Quuxplusone).CapacityIsPowerOf2
template parameter to class ring_span
and class ring
(#22, thanks @dcolascione).test/tc-cl.bat
to compile with clang-cl (nonstd-lite-project issues 54).export()
to CMakeLists.txt enabling importing targets.Changes:
Fixes:
[to be expanded]
This release of ring-span-lite lite ...
Additions
Changes
Fixes
self.info.header_only()
, but they a helpful for Conan CMake helper to detect generator correctly. https://github.com/martinmoene/nonstd-lite-project/issues/34
[to be expanded]
This release of ring-span-lite lite improves support for CMake and Conan and contains numerous other changes and fixes.
See also nonstd lite project Improve coherence between lite projects.
Additions
Changes
copy_popper
now has a single constructor that a) takes its parameter by value if compiled with C++11 or later, or b) takes it parameter by const& otherwise (@Quuxplusone sg14 issue 102).This release of ring-span lite contains several unrelated changes.
Additions
nsrs_CONFIG_STRICT_P0059
to omit ring-span lite extensionsRING_SPAN_LITE_COLOURISE_TEST
to control colouring of test outputring_iterator
Fixes
Initial release.