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
Name |
Description |
other |
Lock to move from; left owning no mutex. |
Created with MrDocs