Creates a ConcurrentLazy with a type deduced from the callable.
Declared in <folly/ConcurrentLazy.h>
template<class Func>
ConcurrentLazy<remove_cvref_t<Func>>
concurrent_lazy(Func&& func);
A ConcurrentLazy that computes and caches the result of func.
| Name | Description |
|---|---|
| func | The callable used to compute the value on first access. |