std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::data_handle - cppreference.com (original) (raw)

| constexpr const data_handle_type& data_handle() const noexcept; | | (since C++23) | | ------------------------------------------------------------------ | | ------------- |

Returns the underlying data handle of data_handle_type. Equivalent to return ptr_;.

[edit] Parameters

(none)

[edit] Return value

A const reference to the underlying data handle.

[edit] Example

[edit] See also