std::extents<IndexType,Extents...>:: fwd-prod-of-extents
|
(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 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Observers | ||||
| Helpers | ||||
|
extents::
fwd-prod-of-extents
|
||||
| Non-member functions | ||||
| Deduction guides |
|
constexpr
std::
size_t
/*fwd-prod-of-extents*/
(
rank_type i
)
const
noexcept
;
|
(since C++23)
( exposition only* ) |
|
Returns the product of the sizes of extents with index less than i . The behavior is undefined if i <= rank ( ) is false .
Parameters
| i | - | The end index of the range of extents to be multiplied together. |
Return value
If
i
>
0
is
true
, return the product of
extent
(
k
)
for all
k
in range
[
0
,
i
)
, otherwise
1
.
See also
returns the product of extents size in range
[
i
+
1
,
rank
(
)
)
( exposition-only member function* ) |