std::extents<IndexType,Extents...>:: dynamic-index-inv
Sequence | ||||
(C++11)
|
||||
(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 |
|
Member functions | ||||
Observers | ||||
Helpers | ||||
extents::
dynamic-index-inv
|
||||
Non-member functions | ||||
Deduction guides |
private
:
template
<
class
OtherIndexType
>
|
(since C++23)
( exposition only* ) |
|
Returns the number
r
such that in range
[
0
,
r
+
1
)
there are exactly
[
0
,
i
+
1
)
dynamic extents. If
i
<=
rank_dynamic
(
)
is
false
, the behavior is undefined.
Parameters
i | - | the index |
Return value
The minimum value of
r
such that
dynamic-index
(
r
+
1
)
==
i
+
1
is
true
.
Example
This section is incomplete
Reason: no example |
See also
This section is incomplete |