Create a guard that attempts to set the rehash bit at state_p.

Synopsis

Declared in <bdlcc_stripedunorderedcontainerimpl.h>

explicit
StripedUnorderedContainerImpl_RehashBitSetGuard(bsls::AtomicInt* state_p);

Description

If successful, the rehash bit will be cleared during destruction.

Parameters

Name

Description

state_p

address of the atomic state bitfield

Created with MrDocs