Static versus Dynamic Extent
Compare static and dynamic extent with std::span.
We'll cover the following...
Introduction
A std::span
stands for an object that refers to a contiguous sequence of objects. An std::span
, sometimes called a view, is never an owner. This contiguous sequence of objects can be a plain C-array, a pointer with a size, an std::array
, an std::vector
, or an std::string
.
A ...