返回 mdspan 中的元素数量。
mdspan
等价于 extents().fwd-prod-of-extents(rank())。
extents
fwd-prod-of-extents
rank
多维索引空间 extents() 的大小必须能够用 size_type 类型的值表示。否则,行为是未定义的。
extents()
size_type
元素数量。