[#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, and 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. == Synopsis Declared in `<bsls_bslonce.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ~BslOnceGuard(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#