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

'throw_out_of_range' could be declared with attribute 'noreturn' #73

Closed jdumas closed 2 years ago

jdumas commented 2 years ago

Small compiler warning on this one with -Wmissing-noreturn: https://github.com/martinmoene/span-lite/blob/e462e6f1c9aae15ab690d26305d30f9606f1e788/include/nonstd/span.hpp#L830

martinmoene commented 2 years ago

Thanks!