folly::coro::SharedLock::try_lock

Synopsis

Declared in <folly/coro/SharedLock.h>

bool
try_lock() noexcept(/* see-below */);

Exception specification

This function is potentially-throwing unless noexcept(typename Policy::try_lock_fn{}(*this->mutex_)).