Returns a functor that returns whatever is passed to it.
Synopsis
Declared in <absl/types/any_span.h>
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.
Created with MrDocs