Constructs a mutable Span<T> from a [begin, end)] pointer pair.
Synopsis
Declared in <absl/types/span.h>
template<
int& ExplicitArgumentBarrier...,
typename T>
Span<T>
MakeSpan(
T* begin,
T* end) noexcept;
Return Value
A span over the range [begin, end)].
Parameters
Name |
Description |
begin |
Pointer to the first element. |
end |
Pointer just past the last element. |
Created with MrDocs