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

Statically determines the extent of a mdspan at the rank index r. If the rank index r corresponds to a dynamic extent, returns std::dynamic_extent. Equivalent to return Extents::static_extent(r);.

# Declarations

static constexpr std::size_t static_extent( rank_type r ) noexcept;

(since C++23)

# Parameters

# Return value

The static extent size, or std::dynamic_extent.

# Example

This section is incompleteReason: no example

# See also