[#BloombergLP-bsls-BslOnceGuard-2destructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslOnceGuard.adoc[BslOnceGuard]::~BslOnceGuard :relfileprefix: ../../../ :mrdocs: Destroy this guard. == Synopsis Declared in `<bsls_bslonce.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ~BslOnceGuard(); ---- == Description If `enter` had been called on this object without a subsequent call to `leave`, then call `leave` to signal the completion of the one‐time block of code. [.small]#Created with https://www.mrdocs.com[MrDocs]#