W3cubDocs

/C++

std::span<T,Extent>::data

constexpr pointer data() const noexcept;

Returns a pointer to the beginning of the sequence.

Return value

A pointer to the beginning of the sequence.

See also

constructs a span
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/span/data