[#BloombergLP-bsls-BslOnceGuard-2destructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslOnceGuard.adoc[BslOnceGuard]::&#126;BslOnceGuard
:relfileprefix: ../../../
:mrdocs:

Destroy this guard&period;

== Synopsis

Declared in `&lt;bsls&lowbar;bslonce&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&#126;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&hyphen;time block of code&period;


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