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

Assignment operators

Synopses

Declared in <folly/SharedMutex.h>

Deleted copy assignment; the lock is not copyable.

shared_lock&
operator=(shared_lock const& other) = delete;
» more...

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

shared_lock&
operator=(shared_lock&& other) noexcept;
» more...

Return Value

  • Nothing; this operator is deleted.
  • A reference to this lock.

Parameters

NameDescription
otherThe lock that would be assigned from.