span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
Release 0.11.0 contains the following fixes and changes to continuous integration build.
Additions
make_span()
taking std::initializer_list
(#74).std::initializer_list<>
as per p2447 (#74, thanks @Pesa, p2447 - std::span and the missing constructor).Changes
*_CPP20_OR_GREATER
to 202002L (nonstd-lite-project issue 49).span_FEATURE_WITH_INITIALIZER_LIST_P2447
(#74).std::initializer_list
down (#74).Fixes
[[noreturn]]
to C++11 (#83, thanks @simark).std::dynamic_extent
into nonstd
when selecting std::span
(#81, thanks @wendazhou).Release 0.10.3 fixes #69 and #73.
Fixes:
[noreturn]
to throw_out_of_range()
(fixes #73, thanks @jdumas).Release 0.10.2 fixes #72. Thanks to @CrustyAuklet.
Release 0.10.1 fixes #71. Thanks to @CrustyAuklet.
Release 0.10.0 fixes #65, #67, #68. Thanks to @vvish and @im95able.
Release 0.9.2 fixes #64. Thanks to @improbablejan.
Note: With MSVC Debug, a span cannot be created from an empty range, like: std::vector v; span(v.begin(),v.end())
.
This behaviour is present since the introduction of construction from iterators in v0.9.0.
Note: this release still has problems, see #64 .
Release 0.9.1 fixes #64. Thanks to @improbablejan.
Release 0.9.0 of span lite adds construction from iterators and improves detection of the presence of Class Template Argument Deduction (CTAD).
Additions:
Changes:
Fixes:
This bug-fix release of span lite contains the following changes.
Fixes:
Changes:
This release of span lite contains the following changes and fixes.
Additions
<nonstd/span.tweak.hpp>
, see nonstd-lite-project 44
.editorconfig
, .gitattributes
Changes
-Wtype-limits
for index check (#62, #63, thanks @mjacobse)span_REQUIRES_T()
Fixes
extent == 0
(#56, thanks to @herv)span_REQUIRES_T()
, see nonstd-lite-project 40