Deduces std::lock_guard when adopting existing lock state.

Synopsis

Declared in <folly/synchronization/Lock.h>

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

Created with MrDocs