Returns a functor that returns whatever is passed to it.
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.
A const reference to the shared identity functor.