Constructs a Span<const T> from a [begin, end)] pointer pair.
Declared in <absl/types/span.h>
template<
int& ExplicitArgumentBarrier...,
typename T>
Span<T const>
MakeConstSpan(
T* begin,
T* end) noexcept;
A read-only span over the range [begin, end)].
| Name | Description |
|---|---|
| begin | Pointer to the first element. |
| end | Pointer just past the last element. |