std::span<T,Extent>::data
From cppreference.net
constexpr pointer data() const noexcept; |
(since C++20) | |
Returns a pointer to the beginning of the underlying sequence.
Return value
Example
Run this code
Output:
ABCDEF BCDEF CDEF DEF EF F
See also
constructs a span (public member function) |