I know std::span
is static. It is just view over bunch of vector/array/etc. elements.
I see constructors of span, and it seems like std::dynamic_extent
is used in 4-6. But in those constructors, there is a required template parameter for the size - std::size_t N
. To me this means that the size/count/len is known at compile time. So what really is std::dynamic_extent
?