std::shared_lock<folly::SharedMutexImpl<ReaderPriority, Tag_, Atom, Policy>>::shared_lock

Move-constructs a lock, transferring ownership from another lock.

Synopsis

Declared in <folly/SharedMutex.h>

shared_lock(shared_lock&& other) noexcept;

Parameters

NameDescription
otherLock to move from; left owning no mutex.