New Features in C++26 – Multidimensional Array Views
1. std::span and std::mdspan In C++20 and C++23, std::span and std::mdspan were introduced, which can be understood as a type of view or slice similar to that in Go language. While this understanding is not entirely precise, it makes it easier for everyone to accept, serving as a compromise. As a multidimensional array view, std::mdspan … Read more