std::extent...d-of-extents(3)

๐Ÿ“ฆ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

๐Ÿ’– NAME ๐Ÿ’–

okay so bestie, this is the C++ Standard Libary manual page for std::extent...d-of-extents(3), and the NAME line is literally:

std::extents::rev-prod-of-extents - std::extents::rev-prod-of-extents

thatโ€™s the whole NAME vibe ๐Ÿซถ


โœจ Synopsis โœจ

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.

๐Ÿšจ caveat, no cap: 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

  • fwd-prod-of-extents โ€” returns the product of extent size in range [0, i) (exposition-only member function*)

๐Ÿท๏ธ Category

  • * Todo no example

source + version/date + page: http://cppreference.com ยท 2024.06.10 ยท std::extent...d-of-extents(3) โ€” mwah ๐Ÿ’‹ slay your extents, bestie! ๐Ÿซถ๐Ÿ’–

๐Ÿ“ฆ where this page comes from