as_lock overloads

Synopses

Declared in <folly/Synchronized.h>

Access the underlying lock object.

LockType&
as_lock() noexcept;

Access the underlying lock object, in const context.

LockType const&
as_lock() const noexcept;

Return Value

  • A reference to the underlying lock object.

  • A const reference to the underlying lock object.

Created with MrDocs