Spec-Zone.ru › C++

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

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/container/mdspan/empty

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API