std::extents<IndexType,Extents...>::dynamic-index
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Containers library
(C++17)
(C++11)
(C++26)
(C++26)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++23)
(C++23)
(C++23)
(C++23)
(C++20)
(C++23)
Tables
std::mdspan
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
std::extents
extents::dynamic-index
private:
static constexpr auto /*dynamic-index*/( rank_type i ) noexcept;
(since C++23) static constexpr auto /*dynamic-index*/( rank_type i ) noexcept;
(exposition only*)
Returns the number of dynamic extents below index i. If i <= rank() is false, the behavior is undefined.
[edit] Parameters
i
-
the index
[edit] Return value
The number of Er
with r < i
for which Er
is a dynamic extent.
[edit] See also
This section is incomplete