std::extent...ic-index-inv(3)
π NAME π
std::extents::dynamic-index-inv β std::extents::dynamic-index-inv
Okay bestie, this page is std::extent...ic-index-inv(3) from the C++ Standard Libary manual β yes, thatβs the exact spelling on the page, weβre keeping it π. Itβs all about std::extents::dynamic-index-inv, and itβs giving very private-helper energy.
πΈ Synopsis πΈ
private:
template< class OtherIndexType >
(since C++23)
(exposition
only*)
static constexpr auto /*dynamic-index-inv*/( rank_type i )
noexcept;
So itβs private: β behind the velvet rope, no cap. Itβs a template< class OtherIndexType >, itβs been around (since C++23), and itβs marked (exposition only*). The function itself is static constexpr auto /*dynamic-index-inv*/( rank_type i ) and itβs noexcept;.
Hereβs the lore: it returns the number r such that in range [0, r + 1) there are exactly [0, i + 1) dynamic extents. And if i <= rank_dynamic() is false, the behavior is undefined β literally do not go there, bestie π.
π Parameters π
iβ the index.
π¦ Return value π¦
The minimum value of r such that dynamic-index(r + 1) == i + 1 is true.
π Example π
This section is incomplete.
Reason: no example.
β See also β
This section is incomplete.
π Categories π
- Todo no example
- Todo without reason
Thatβs the whole vibe check, bestie π«Ά. Source: http://cppreference.com, dated 2024.06.10, footer page: std::extent...ic-index-inv(3). Stay iconic, and may your r always be minimal β¨π
π¦ 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