Advanced Container View Usage
At their core, views are non-owning ranges, meaning they provide a view (hence the name) of other data structures without taking ownership of the underlying data. This makes them incredibly lightweight and versatile. With views, you can perform various operations on data without copying it, ensuring efficient code that maximizes performance and minimizes overhead.
This chapter focuses on the following containers:
std::span
std::mdspan