Constructs a read‐only Span<const T> from a container.

Synopsis

Declared in <absl/types/span.h>

template<
    typename V,
    typename = EnableIfConvertibleFrom<V>,
    typename = V,
    typename = span_internal::EnableIfNotIsView<V>>
constexpr
Span(V const& v) noexcept;

Parameters

Name

Description

v

The container whose data the span refers to.

Created with MrDocs