Constructs a Span<const T> from a C array.
Synopsis
Declared in <absl/types/span.h>
template<
int& ExplicitArgumentBarrier...,
typename T,
size_t N>
constexpr
Span<T const>
MakeConstSpan(T const(& array)[]) noexcept;
Return Value
A read‐only span over all elements of array.
Parameters
Name |
Description |
array |
The array whose elements the span refers to. |
Created with MrDocs