Returns a functor that dereferences whatever is passed to it.
Synopsis
Declared in <absl/types/any_span.h>
DerefT const&
Deref();
Description
Works for smart and raw pointers, as well as std::optional. Do not use it with containers holding elements that cannot be dereferenced, such as null pointers. The reference stays valid for the duration of the program.
Return Value
A const reference to the shared deref functor.
Created with MrDocs