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

Synopsis

Declared in <folly/SharedMutex.h>

shared_lock(shared_lock&& other) noexcept;

Parameters

Name

Description

other

Lock to move from; left owning no mutex.

Created with MrDocs