[#BloombergLP-bdlcc-StripedUnorderedContainerImpl_LockElementWriteGuard]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::StripedUnorderedContainerImpl&lowbar;LockElementWriteGuard
:relfileprefix: ../../
:mrdocs:

A guard pattern on StripedUnorderedContainerImpl&lowbar;LockElement, to release on exception, for a lock element locked as write&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;stripedunorderedcontainerimpl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class StripedUnorderedContainerImpl&lowbar;LockElementWriteGuard;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_LockElementWriteGuard/2constructor.adoc[`StripedUnorderedContainerImpl&lowbar;LockElementWriteGuard`]         [.small]#[constructor]#
| Create a write guard for the specified `lockElementPtr` lock element&period;
| xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_LockElementWriteGuard/2destructor.adoc[`&#126;StripedUnorderedContainerImpl&lowbar;LockElementWriteGuard`] [.small]#[destructor]#
| Release the guarded object
| xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_LockElementWriteGuard/release.adoc[`release`] 
| Release the guarded object
|===



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