[#absl-MakeConstDerefAnySpan-0b] = xref:absl.adoc[absl]::MakeConstDerefAnySpan :relfileprefix: ../ :mrdocs: `MakeConstDerefAnySpan` overloads == Synopses Declared in `<absl/types/any_span.h>` Constructs a const `AnySpan` dereferencing a view container of pointers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< int& ExplicitArgumentBarrier..., typename Container, typename T = any_span_internal::DerefElementType<Container const>> xref:absl/AnySpan.adoc[AnySpan<T const>] xref:absl/MakeConstDerefAnySpan-0c.adoc[MakeConstDerefAnySpan](Container const& c) requires absl::type_traits_internal::IsView<Container>::value; ---- [.small]#xref:absl/MakeConstDerefAnySpan-0c.adoc[_» more..._]# Constructs a const `AnySpan` dereferencing a non‐view container of pointers. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< int& ExplicitArgumentBarrier..., typename Container, typename T = any_span_internal::DerefElementType<Container const>> xref:absl/AnySpan.adoc[AnySpan<T const>] xref:absl/MakeConstDerefAnySpan-0f.adoc[MakeConstDerefAnySpan](Container const& c) requires !absl::type_traits_internal::IsView<Container>::value; ---- [.small]#xref:absl/MakeConstDerefAnySpan-0f.adoc[_» more..._]# == Return Value A read‐only `AnySpan` over the dereferenced elements of `c`. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container of pointers whose pointees the span refers to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#