[#BloombergLP-bsls-BslOnce-leave]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/BslOnce.adoc[BslOnce]::leave
:relfileprefix: ../../../
:mrdocs:

Exit the one&hyphen;time block of code&period; The behavior is undefined unless the caller had previously called `enter`, and `enter` had returned `true`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
leave();
----


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