std::extent...d-of-extents(3)
okay so bestie, this is std::extent...d-of-extents(3) from the C++ Standard Libary manual, and we're getting into the exposition-only std::extents::fwd-prod-of-extents vibe. C++23 constexpr math, no cap. π
πΈ NAME πΈ
std::extents::fwd-prod-of-extentsβstd::extents::fwd-prod-of-extents(yes, the name said it twice, and honestly? iconic).
β¨ Synopsis β¨
constexpr std::size_t rank_type /*fwd-prod-of-extents*/(
(since C++23)
rank_type i ) const noexcept;
(exposition only*)
Returns the product of the sizes of extents with index less than i. The behavior is undefined if i <= rank() is false. This whole thing is marked (exposition only*), so it's giving behind-the-scenes exposition energy. π
π Parameters π
iβ the end index of the range of extents to be multiplied together. That's it, bestie. π«Ά
π Return value π
- If
i > 0is true, return the product ofextent(k)for allkin range[0, i), otherwise1.
π¦ Example π¦
This section is incomplete Reason: no example
π₯ See also π₯
rev-prod-of-extentsreturns the product of extents size in range[i + 1, rank())(exposition-only member function*)
π Category π
* Todo no example
source/version: http://cppreference.com, date: 2024.06.10, page: std::extent...d-of-extents(3) β mwah, bye bestie πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms