[#StdMutex-operator_not] = xref:StdMutex.adoc[StdMutex]::operator! :relfileprefix: ../ :mrdocs: Expose the mutex as a negative capability for Clang Thread Safety Analysis. == Synopsis Declared in `<util/stdmutex.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:StdMutex.adoc[StdMutex] const& operator!() const; ---- == Description A negative requirement uses the EXCLUSIVE_LOCKS_REQUIRED attribute together with the ! operator to indicate that a mutex should not be held. == Return Value A const reference to this mutex. [.small]#Created with https://www.mrdocs.com[MrDocs]#