Converts a mutable span to a const span by copying its internal state.

Synopsis

Declared in <absl/types/any_span.h>

template<
    typename LazyT = T,
    typename = LazyT>
constexpr
AnySpan(AnySpan<std::remove_const_t<T>> const& other);

Parameters

Name

Description

other

The mutable span to convert from.

Created with MrDocs