Namespaces
Variants
Views
Actions

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::empty

From cppreference.com
< cpp‎ | container‎ | mdspan
 
 
 
 
[[nodiscard]] 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

[edit] See also