In C++, an mdspan is a non-owning, multi-dimensional view of (typically contiguous) typed data in memory.