Two
mdspan objects
x and
y overlap each other,
if for some pack of integers
i
that is a multidimensional index in
x.extents(),
there exists a pack of integers
j
that is a multidimensional index in
y.extents(),
such that
x[i....] and
y[j...] refer to the same element
.