Deduces std::shared_lock when adopting existing lock state.

Synopsis

Declared in <folly/synchronization/Lock.h>

template<
    typename Mutex,
    typename S>
shared_lock<Mutex>(
    Mutex&,
    folly::adopt_lock_state_t,
    S) → shared_lock<Mutex>;

Created with MrDocs