Constructs a read‐only span from an initializer list.

Synopsis

Declared in <absl/types/span.h>

template<
    typename LazyT = T,
    typename = LazyT>
Span(std::initializer_list<value_type> v) noexcept;

Description

The referenced array must outlive the span; see the notes above.

Parameters

Name

Description

v

The initializer list whose data the span refers to.

Created with MrDocs