[#BloombergLP-bslmt-UnLockGuard-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/UnLockGuard.adoc[UnLockGuard]::UnLockGuard
:relfileprefix: ../../../
:mrdocs:

Create a guard that unlocks `lock`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
UnLockGuard(T* lock);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lock*
| lock object to unlock&semi; may be null
|===


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