std::dynamic_extent (3) - Linux Manuals
std::dynamic_extent: std::dynamic_extent
NAME
std::dynamic_extent - std::dynamic_extent
Synopsis
Defined in header <span>
inline constexpr std::size_t dynamic_extent = std::numeric_limits<std::size_t>::max(); (since C++20)
std::dynamic_extent is a constant of type std::size_t that is used to differentiate std::span of static and dynamic extent.
Note
Since std::size_t is an unsigned type, an equivalent definition is:
See integral_conversions.
See also
span a non-owning view over a contiguous sequence of objects
(C++20)