[#bsl-basic_osyncstream-2constructor-08] = xref:bsl.adoc[bsl]::xref:bsl/basic_osyncstream.adoc[basic_osyncstream]::basic_osyncstream :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<bslstl_osyncstream.h>` Create a `basic_osyncstream` by moving from `original`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_osyncstream/2constructor-02.adoc[basic_osyncstream](xref:bsl/basic_osyncstream.adoc[basic_osyncstream]&& original) noexcept; ---- [.small]#xref:bsl/basic_osyncstream/2constructor-02.adoc[_» more..._]# Create a `basic_osyncstream` that forwards output to `stream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:bsl/basic_osyncstream/2constructor-01.adoc[basic_osyncstream]( std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& stream, ALLOCATOR const& allocator = ALLOCATOR()); ---- [.small]#xref:bsl/basic_osyncstream/2constructor-01.adoc[_» more..._]# Create a `basic_osyncstream` by moving from `original`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_osyncstream/2constructor-00.adoc[basic_osyncstream]( xref:bsl/basic_osyncstream.adoc[basic_osyncstream]&& original, ALLOCATOR const& allocator) noexcept; ---- [.small]#xref:bsl/basic_osyncstream/2constructor-00.adoc[_» more..._]# Create a `basic_osyncstream` that forwards output to `wrapped`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:bsl/basic_osyncstream/2constructor-04.adoc[basic_osyncstream]( xref:bsl/basic_osyncstream/streambuf_type.adoc[streambuf_type]* wrapped, ALLOCATOR const& allocator = ALLOCATOR()); ---- [.small]#xref:bsl/basic_osyncstream/2constructor-04.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *original* | object from which to move‐construct | *stream* | output stream whose buffer receives synchronized output | *allocator* | allocator used to supply memory | *wrapped* | stream buffer that receives synchronized output |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#