span-lite icon indicating copy to clipboard operation
span-lite copied to clipboard

span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library

Results 11 span-lite issues
Sort by recently updated
recently updated
newest added

Hello, please see the following: ``` static_assert(std::is_same::value, "make_span Broken"); static_assert(std::is_same::value, "make_span Broken"); static_assert(std::is_same::value, "make_span Broken"); static_assert(std::is_same::value, "make_span Broken"); ``` The first case returns a span with dynamic extent, while the...

I dont know anything about travis, hope this works correctly. see #18

Example: > -Dspan_FEATURE_MAKE_SPAN_TO_STD=14 Define this to the highest C++ language version for which to provide creator functions nonstd::make_span(). Default is undefined. 1. I do not understand why? It sounds like...

From issue #3. See also [libc++ span snippet](https://github.com/mclow/snippets/blob/master/span.cpp). Note remark by Nevin Liber in [isocpp-lib] Another span question, on 24-Apr-18 22:55: >Meta-questions: why are we conflating fixed extents and dynamic...

**Plan** - [ ] Installation: As copied header - [ ] Installation: As external Git project - [x] Installation: As CMake package - [ ] Installation: As Conan package

*span-lite* release 0.1.0 allows the construction of a span from `std::array` with a `const` value type. However this is not supported by [p0122r7](http://wg21.link/p0122r7). Keep an eye on this and if...

Using master as of today, I get: ``` $ g++ -x c++-header span.hpp -Wundef -Werror -std=c++20 span.hpp:43:33: error: "span_HAVE_STRUCT_BINDING" is not defined, evaluates to 0 [-Werror=undef] 43 | #define span_HAVE(...