std::extents<IndexType,Extents...>::extent - cppreference.com (original) (raw)

| constexpr index_type extent( rank_type i ) const noexcept; | | (since C++23) | | ------------------------------------------------------------ | | ------------- |

Returns dynamic extent size of an extents at a certain rank index.

[edit] Parameters

i - The rank index to get the extent size of

[edit] Return value

The dynamic extent size of an extents at a certain rank index.

[edit] Example

[edit] See also

| | returns static extent size of an extents at a certain rank index (public static member function) [edit] | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | | obtains the size of an array type along a specified dimension (class template) [edit] |