std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::empty
From cppreference.com
C++
Containers library
(C++17) | ||||
| Sequence | ||||
(C++11) | ||||
(C++26) | ||||
(C++26) | ||||
(C++11) | ||||
| Associative | ||||
| Unordered associative | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Adaptors | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
(C++23) | ||||
| Views | ||||
(C++20) | ||||
(C++23) | ||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::mdspan
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| constexpr bool empty() const noexcept; |
(since C++23) | |
Check if the mdspan is empty.
Contents |
[edit] Parameters
(none)
[edit] Return value
true if the size of the multidimensional index space extents() is 0, otherwise false.
[edit] Example
| This section is incomplete Reason: no example |
[edit] See also
| This section is incomplete |