std::layout_left::mapping::extents - cppreference.com (original) (raw)

| constexpr const extents_type& extents() const noexcept; | | (since C++23) | | -------------------------------------------------------- | | ------------- |

Returns a const reference to the extents object. Equivalent to return extents_;.

[edit] Parameters

(none)

[edit] Return value

A const reference to the extents.

[edit] Example

[edit] See also

| | obtains the extents object (public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) [edit] | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |