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