std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::rank

Returns the number of dimensions in a mdspan. Equivalent to return Extents::rank().

# Declarations

static constexpr rank_type rank() noexcept;

(since C++23)

# Return value

The number of dimensions.

# Example

This section is incompleteReason: no example

# See also