[#BloombergLP-bdlcc-StripedUnorderedContainerImpl_RehashBitSetGuard-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/StripedUnorderedContainerImpl_RehashBitSetGuard.adoc[StripedUnorderedContainerImpl&lowbar;RehashBitSetGuard]::StripedUnorderedContainerImpl&lowbar;RehashBitSetGuard
:relfileprefix: ../../../
:mrdocs:

Create a guard that attempts to set the rehash bit at `state&lowbar;p`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
StripedUnorderedContainerImpl&lowbar;RehashBitSetGuard(xref:BloombergLP/bsls/AtomicInt.adoc[bsls::AtomicInt]* state&lowbar;p);
----

== Description

If successful, the rehash bit will be cleared during destruction&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *state&lowbar;p*
| address of the atomic state bitfield
|===


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