Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::extents<IndexType,Extents...>::dynamic-index-inv

Returns the number r such that in range [ 0 , r + 1) there are exactly [ 0 , i + 1) dynamic extents. If i <= rank_dynamic() is false, the behavior is undefined.

NotebookLM
private:
    static constexpr auto /*dynamic-index-inv*/( rank_type i ) noexcept;
(since C++23)
(exposition only*)

Returns the number r such that in range [​0​, r + 1) there are exactly [​0​, i + 1) dynamic extents. If i <= rank_dynamic() is false, the behavior is undefined.

Parameters

i - the index

Return value

The minimum value of r such that dynamic-index(r + 1) == i + 1 is true.

See also

This section is incomplete

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.