Assignment operators
Synopses
Declared in <folly/SharedMutex.h>
Deleted copy assignment; the lock is not copyable.
shared_lock&
operator=(shared_lock const& other) = delete;
Move‐assigns a lock, transferring ownership from another lock.
shared_lock&
operator=(shared_lock&& other) noexcept;
Return Value
-
Nothing; this operator is deleted.
-
A reference to this lock.
Parameters
Name |
Description |
other |
The lock that would be assigned from. |
Created with MrDocs