[#bsl-basic_osyncstream-2constructor-00]
= xref:bsl.adoc[bsl]::xref:bsl/basic_osyncstream.adoc[basic&lowbar;osyncstream]::basic&lowbar;osyncstream
:relfileprefix: ../../
:mrdocs:

Create a `basic&lowbar;osyncstream` object having the same value as the specified `original` object by moving the contents of `original` to the newly&hyphen;created object&period; Optionally specify an `allocator` used to supply memory&period; `original&period;get&lowbar;wrapped() &equals;&equals; nullptr` after the call&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;osyncstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
basic&lowbar;osyncstream(
    xref:bsl/basic_osyncstream.adoc[basic&lowbar;osyncstream]&& original,
    ALLOCATOR const& allocator) noexcept;
----


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