[#StdMutex-Guard-2destructor]
= xref:StdMutex.adoc[StdMutex]::xref:StdMutex/Guard.adoc[Guard]::&#126;Guard
:relfileprefix: ../../
:mrdocs:

Release the held mutex when the guard is destroyed&period;

== Synopsis

Declared in `&lt;util&sol;stdmutex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;release&lowbar;capability&rsqb;&rsqb;
constexpr
&#126;Guard() = default;
----


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