table of contents
other versions
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
| std::extents::rev-prod-of-extents(3) | C++ Standard Libary | std::extents::rev-prod-of-extents(3) |
NAME¶
std::extents::rev-prod-of-extents - std::extents::rev-prod-of-extents
Synopsis¶
constexpr std::size_t /*rev-prod-of-extents*/( rank_type i ) const (since C++23) noexcept; (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.
See also¶
fwd-prod-of-extents returns the product of extent size in range
[0, i)
(exposition-only member function*)
| 2026.11.10 | http://cppreference.com |