Release 0.11.0 contains the following fixes and changes to continuous integration build.
Additions
- Add example tweak header.
- Add
make_span()
takingstd::initializer_list
(#74). - Add special-case test with empty il for MSVC120/VS2013 (#74).
- Add GitHub Actions CI (nonstd-lite-project issue 55).
- Add/update example/CMakeLists.txt (nonstd-lite-project issue 56).
- Add construction from
std::initializer_list<>
as per p2447 (#74, thanks @Pesa, p2447 - std::span and the missing constructor). - Add p2447 on missing constructor to section References (#74, p2447 - std::span and the missing constructor).
Changes
- Update actions/checkout in GitHub Actions to v4 (#82, thanks @striezel).
- Update actions/checkout in GitHub Actions to v3 (#75).
- Remove Travis CI configuration and badge (#80, thanks @striezel).
- Remove gcc 8 and clang 8, 9, 10 from GitHub CI matrix (nonstd-lite-project issue 69).
- Remove msvc (windows-2016) image from GitHub Actions (nonstd-lite-project issue 61, thanks @xavier2k6).
- Add msvc (windows-2022) image to GitHub Actions (nonstd-lite-project issue 62).
- Do not cancel all jobs in a workflow if one fails (#79, thanks @striezel, nonstd-lite-poject issue 71.
- Use toplevel unit_name (nonstd-lite-project 56).
- Change value used with
*_CPP20_OR_GREATER
to 202002L (nonstd-lite-project issue 49).
Now, designate C++23 as speculative. - Replace #pragma warning suppression by in-body initialization (#74, thanks @Pesa).
- Only suppress warning -Winit-list-lifetime for GCC 9 and later (#74, thanks @Pesa).
- Exclude clang from GGC warning -Winit-list-lifetime (#74).
- Suppress GGC warning -Winit-list-lifetime (#74, thanks @Pesa).
- Restore default off for
span_FEATURE_WITH_INITIALIZER_LIST_P2447
(#74). - Move constructor for
std::initializer_list
down (#74). - Ensure to point to first element of array (MS Code Analysis, decay).
- Ensure sufficient lifetime for span (#74).
- Change initializer_list tests to use sections (#74).
- Only provide non-explicit variant for MSVC120/VS2013 (#74).
- Update table for p2447 (#74).
Fixes
- Fix C++standard version for
[[noreturn]]
to C++11 (#83, thanks @simark). - Fix to import
std::dynamic_extent
intononstd
when selectingstd::span
(#81, thanks @wendazhou). - Fix a small typo (#78, thanks @striezel).
- Fix cmake config file (#77, thanks @duncanspumpkin).
- Fix span-lite tests on big-endian (#76, thanks @jpcima).