StdMutex::try_lock

Synopsis

Declared in <util/stdmutex.h>

[[nodiscard, _Clang::__try_acquire_capability__]]
bool
try_lock() noexcept;

Return Value

NOTE

The return value should not be discarded.