Constructs a Span<const T> from a non-view container.
Declared in <absl/types/span.h>
template<
int& ExplicitArgumentBarrier...,
typename C>
constexpr
decltype(MakeSpan(c))
MakeConstSpan(C const& c) noexcept
requires !span_internal::IsView<C>::value;
A read-only span over the elements of c.
| Name | Description |
|---|---|
| c | The container whose data the span refers to. |