std::extents<IndexType,Extents...>:: rev-prod-of-extents
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::
rev-prod-of-extents
|
||||
Non-member functions | ||||
Deduction guides |
constexpr
std::
size_t
rank_type
/*rev-prod-of-extents*/
(
rank_type i
)
const
noexcept
;
|
(since C++23)
( exposition only* ) |
|
Returns the product of the sizes of extents with index greater than i . The behavior is undefined if i < rank ( ) is false .
Parameters
i | - | an index above which the sizes of corresponding extents will be multiplied together |
Return value
If
i
+
1
<
rank
(
)
is
true
, return the product of
extent
(
k
)
for all
k
in range
[
i
+
1
,
rank
(
)
)
, otherwise
1
.
Example
This section is incomplete
Reason: no example |
See also
returns the product of extent size in range
[
0
,
i
)
( exposition-only member function* ) |