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

Reports whether this lock currently owns a shared lock.

Synopsis

Declared in <folly/SharedMutex.h>

explicit
operator bool() const noexcept;

Return Value

true if a shared lock is held.