Repository navigation
0.7.0
To be further edited
This release contains the following changes and fixes.
Additions
- Add std::tuple_size<>, std::tuple_element<>, std::get(spn) (#30)
- Add tuple_element_t for C++11 and newer (#51)
Changes
- Change default of span_FEATURE_COMPARISON to 0 (#30)
- Change defaults of span_CONFIG_EXTENT_TYPE, span_CONFIG_SIZE_TYPE to std::size_t (#30)
- Rename as_writeable_bytes() to as_writable_bytes() (#30, thanks to @nolange)
- Rename index_type to size_type, p1872 (#30, thanks to @ThePhD); p1872 - span should have size_type, not index_type
- [skip ci] Improve MSVC version table (nonstd-lite-project issue 38); nonstd-lite/nonstd-lite#38
- Avoid std::equal volatile comparisons for libc++ (#44); libc++ doesn't allow us to perform std::equal on volatile and non-volatile types. We can work around this by iterating over the span and manually comparing.
- Introduce span_CONFIG_EXTENT_TYPE, fix constraint (thanks to @ThePhD)
- Use #include in code on Godbolt (#49)
- Suppress clang's warning -Wmismatched-tags (#50, thanks to @vlovich)
- Skip tuple_element_t test for VS2013 (#51)
- Readme: Add several ISO C++ Committee Trip Reports
- Readme: Point to conan-center (thanks @flexferrum)
- Readme: Improve Readme guided by markdownlint
Fixes
- Fix type for array sizes to std::size_t
- Use span_constexpr, span_noexcept with structured bindings (#30)
- Provide base templates of tuple_size, tuple_element (#30); also remove && variants of get<>(spn)
- Fix span_HAVE_DEDUCTION_GUIDES for MSVC (#38, thanks to @melak47), Use span_COMPILER_MSVC_VER instead of span_COMPILER_MSVC_VERSION
- Use 'class' for tuple_size, tuple_element (#50, thanks to @vlovich)
- Fix typo in INDEX_TYPE deprecation note; span_CONFIG_INDEX_TYPE was changed to span_CONFIG_SIZE_TYPE in 0c95c29 but due to a typo, this was not described correctly in the README.md