martinmoene / span-lite

span lite - A C++20-like span for C++98, C++11 and later in a single-file header-only library
Boost Software License 1.0
495 stars 40 forks source link

default constructor should be enabled for extent == 0 #56

Closed herv closed 4 years ago

herv commented 4 years ago

as per https://en.cppreference.com/w/cpp/container/span/span default constructor should enabled for extent == 0 || extent == std::dynamic_extent