[#std-shared_lock-0b-2constructor-00b] = xref:std.adoc[std]::xref:std/shared_lock-0b.adoc[shared_lock<folly::SharedMutexImpl<ReaderPriority, Tag_, Atom, Policy>>]::shared_lock :relfileprefix: ../../ :mrdocs: Move‐constructs a lock, transferring ownership from another lock. == Synopsis Declared in `<folly/SharedMutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- shared_lock(xref:std/shared_lock-0b.adoc[shared_lock]&& other) noexcept; ---- == Parameters [cols="1,4"] |=== | Name| Description | *other* | Lock to move from; left owning no mutex. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#