Defined in header <span> | ||
---|---|---|
inline constexpr std::ptrdiff_t dynamic_extent = -1; | (since C++20) |
std::dynamic_extent
is a constant of type std::ptrdiff_t
that is used to differentiate std::span
of static and dynamic extent.
(C++20) | a non-owning view over a contiguous sequence of objects (class template) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/span/dynamic_extent