std::layout_stride::mapping<Extents>::extents
constexpr const extents_type& extents() const noexcept; | (since C++23) |
Returns a const reference to the extents object. Equivalent to return extents_;.
Parameters
(none)
Return value
A const reference to the extents.
Example
See also
| obtains the extents object (public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/container/mdspan/layout_stride/mapping/extents