std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::extents
constexpr const extents_type& extents() const noexcept; | (с C++23) |
Возвращает ссылку на константу, содержащую размеры макета map_. Эквивалентно return map_.extents();.
Параметры
(нет)
Возвращаемое значение
Ссылка на константу, содержащую размеры.
Пример
См. также
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/container/mdspan/extents_mfun