Constructs a mutable Span<T> from a C array.

Synopsis

Declared in <absl/types/span.h>

template<
    int& ExplicitArgumentBarrier...,
    typename T,
    size_t N>
constexpr
Span<T>
MakeSpan(T(& array)[]) noexcept;

Return Value

A span over all elements of array.

Parameters

Name

Description

array

The array whose elements the span refers to.

Created with MrDocs