[#AnnotatedMixin-03-operator_not]
= xref:AnnotatedMixin-03.adoc[AnnotatedMixin]::operator!
:relfileprefix: ../
:mrdocs:

For negative capabilities in the Clang Thread Safety Analysis&period; A negative requirement uses the EXCLUSIVE&lowbar;LOCKS&lowbar;REQUIRED attribute, in conjunction with the ! operator, to indicate that a mutex should not be held&period;

== Synopsis

Declared in `&lt;sync&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:AnnotatedMixin-03.adoc[AnnotatedMixin] const&
operator!() const;
----

== Return Value

A reference to this mutex, used only for thread&hyphen;safety analysis&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
