std::extents<IndexType,Extents...>:: dynamic-index
From cppreference.net
C++
Containers library
|
(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 |
std::mdspan
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::extents
| Member functions | ||||
| Observers | ||||
| Helpers | ||||
|
extents::
dynamic-index
|
||||
| Non-member functions | ||||
| Deduction guides |
|
private
:
static constexpr auto /*dynamic-index*/ ( rank_type i ) noexcept ; |
(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
E
r
with
r < i
for which
E
r
is a dynamic extent.
See also
| This section is incomplete |