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
499 stars 43 forks source link

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

Closed jdumas closed 3 years ago

jdumas commented 3 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 3 years ago

Thanks!