In short, it is a span over contiguous piece of memory, which represents multidimensional array.
Here is an example of use:
int data[6] = {0, 1, 2, 3, 4, 5};
multi_span<int, 2, 3> span{data, 6};
std::cout << span[1][1] << '
'; //Outputs 4
From the linked source, it seems, that it also supports runtime bounds, but I am not sure about proper syntax for those.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…