[#absl-MakeConstAnySpan-0e] = xref:absl.adoc[absl]::MakeConstAnySpan :relfileprefix: ../ :mrdocs: Constructs a const `AnySpan` from a view container or array. == Synopsis Declared in `<absl/types/any_span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< int& ExplicitArgumentBarrier..., typename Container, typename T = any_span_internal::ElementType<Container const>> xref:absl/AnySpan.adoc[AnySpan<T const>] MakeConstAnySpan(Container const& c) requires absl::type_traits_internal::IsView<Container>::value; ---- == Return Value A read‐only `AnySpan` over the elements of `c`. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container whose elements the span refers to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#