[#absl-MakeConstSpan-0c] = xref:absl.adoc[absl]::MakeConstSpan :relfileprefix: ../ :mrdocs: Constructs a `Span<const T>` from a non‐view container. == Synopsis Declared in `<absl/types/span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< int& ExplicitArgumentBarrier..., typename C> constexpr decltype(MakeSpan(c)) MakeConstSpan(C const& c) noexcept requires !span_internal::IsView<C>::value; ---- == Return Value A read‐only span over the elements of `c`. == Parameters [cols="1,4"] |=== | Name| Description | *c* | The container whose data the span refers to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#