std::layout_right::mapping<Extents>::extents
From cppreference.com
< cpp | container | mdspan | layout right | mapping
C++
Containers library
| Sequence | ||||
|
(C++11)
|
||||
|
(C++26)
|
||||
|
(C++11)
|
||||
| Associative | ||||
| Unordered associative | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Adaptors | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
| Views | ||||
|
(C++20)
|
||||
|
(C++23)
|
||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::mdspan
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::layout_right::mapping
| Member functions | ||||
| Observers | ||||
mapping::extents | ||||
| Non-member functions | ||||
|
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
| This section is incomplete Reason: no example |
See also
| obtains the extents object (public member function of std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>) |