Constructs a mutable span from a container.
Declared in <absl/types/span.h>
template<
typename V,
typename = EnableIfConvertibleFrom<V>,
typename = V,
typename = span_internal::EnableIfNotIsView<V>>
explicit
Span(V& v) noexcept;
Can be replaced with MakeSpan() to infer the type parameter.
| Name | Description |
|---|---|
| v | The container whose data the span refers to. |