[#ScopedDataStreamUsage-2constructor-0c]
= xref:ScopedDataStreamUsage.adoc[ScopedDataStreamUsage]::ScopedDataStreamUsage
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;streams&period;h&gt;`

Deleted copy constructor&semi; this guard is non&hyphen;copyable&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ScopedDataStreamUsage/2constructor-04.adoc[ScopedDataStreamUsage](xref:ScopedDataStreamUsage.adoc[ScopedDataStreamUsage] const& other) = delete;
----

[.small]#xref:ScopedDataStreamUsage/2constructor-04.adoc[_» more&period;&period;&period;_]#

Take a reference to a stream that must be empty, asserting emptiness on entry&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:ScopedDataStreamUsage/2constructor-0f.adoc[ScopedDataStreamUsage](xref:DataStream.adoc[DataStream]& stream);
----

[.small]#xref:ScopedDataStreamUsage/2constructor-0f.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The instance that would be copied&period;
| *stream*
| Stream to guard&semi; must be empty and is cleared on destruction&period;
|===


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