W3cubDocs

/C++

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

Defined in header <mdspan>
constexpr const accessor_type& accessor() const noexcept;
(since C++23)

Returns a const reference to the accessor acc_. Equivalent to return acc_;.

Parameters

(none).

Return value

See above.

Example

See also

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