A Constant Range of Modifiable Elements
Explore a special use case of std::span.
We'll cover the following...
Kilian Henneberger reminded me of a special use case of std::span
, i.e., a constant range of modifiable elements.
For simplicity, I name a std::vector
and a std::span
a range. A std::vector
, like an std::string
...