On this page
std::extents<IndexType,Extents...>::dynamic-index
|
(since C++23) (exposition only*) |
Returns the number of dynamic extents below index i. If i <= rank() is false, the behavior is undefined.
Parameters
| i | - | the index |
Return value
The number of Er with r < i for which Er is a dynamic extent.
Example
See also
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/mdspan/extents/dynamic-index