std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::rank_dynamic
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
mdspan::rank_dynamic
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
(C++26)
static constexpr rank_type rank_dynamic() noexcept;
(since C++23)
Returns the number of dynamic dimensions in a mdspan
. Equivalent to return Extents::rank_dynamic().
Contents
[edit] Parameters
(none)
[edit] Return value
The number of dynamic dimensions.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example
[edit] See also
[static]
extents
(public static member function of
std::extents<IndexType,Extents...>
) [edit]