absl::Span::front

Returns a reference to the first element; the span must not be empty.

Synopsis

Declared in <absl/types/span.h>

constexpr
reference
front() const noexcept;

Return Value

A reference to the first element.