(C++17) | ||||
| Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
| Associative | ||||
| Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
| Views | ||||
(C++20) | ||||
(C++23) | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
staticconstexprstd::size_t static_extent( rank_type r)noexcept; | (since C++23) | |
Statically determines the extent of amdspan at the rank indexr. If the rank indexr corresponds to a dynamic extent, returnsstd::dynamic_extent. Equivalent toreturn Extents::static_extent(r);.
Contents |
| r | - | The rank index to get the static extent size of |
The static extent size, orstd::dynamic_extent.
| This section is incomplete Reason: no example |
[static] | returns static extent size of anextents at a certain rank index(public static member function of std::extents<IndexType,Extents...>)[edit] |
returns the extent of amdspan at a given rank index(public member function)[edit] |