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

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

Synopsis

Declared in <folly/SharedMutex.h>

shared_lock&
operator=(shared_lock&& other) noexcept;

Return Value

A reference to this lock.

Parameters

NameDescription
otherLock to move from; left owning no mutex.