[#BloombergLP-bsls-OutputRedirector-clear]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/OutputRedirector.adoc[OutputRedirector]::clear
:relfileprefix: ../../../
:mrdocs:

Reset the scratch buffer to empty&period;

== Synopsis

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

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

== Description

The behavior is undefined unless `enable` has been previously called successfully (after the latest call to `disable` if `disable` has been called successfully)&period;


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