[#BloombergLP-bslmt-WriteLockGuard-2destructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/WriteLockGuard.adoc[WriteLockGuard]::&#126;WriteLockGuard
:relfileprefix: ../../../
:mrdocs:

Destroy this scoped guard and invoke the `unlock` method on the lock object under management by this guard, if any&period; If no lock is currently being managed, this method has no effect&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;writelockguard&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;WriteLockGuard();
----


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