[ Web Proxy ]
URL:
Viewing: https://en.cppreference.com/cpp/container/mdspan/empty [Back]  [Original]

std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::empty - cppreference.com
cppreference.com
Namespaces
Variants

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

From cppreference.com
 
 
 
 
constexpr bool empty() const noexcept;
(since C++23)

Check if the mdspan is empty.

Parameters

(none)

Return value

true if the size of the multidimensional index space extents() is 0, otherwise false.

Example

See also


Web Proxy Viewer  |  New URL  |  Original Page