[#absl-any_span_transform-Identity] = xref:absl.adoc[absl]::xref:absl/any_span_transform.adoc[any_span_transform]::Identity :relfileprefix: ../../ :mrdocs: Returns a functor that returns whatever is passed to it. == Synopsis Declared in `<absl/types/any_span.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/any_span_transform/IdentityT.adoc[IdentityT] const& Identity(); ---- == Description Prefer `AnySpan`'s implicit constructor directly; this may be useful when writing templates on top of `AnySpan`. The reference stays valid for the duration of the program. == Return Value A const reference to the shared identity functor. [.small]#Created with https://www.mrdocs.com[MrDocs]#