bsl::basic_osyncstream::basic_osyncstream

Constructors

Synopses

Declared in <bslstl_osyncstream.h>

Create a basic_osyncstream by moving from original.

basic_osyncstream(basic_osyncstream&& original) noexcept;
» more...

Create a basic_osyncstream that forwards output to stream.

explicit
basic_osyncstream(
    std::basic_ostream<CHAR_TYPE, CHAR_TRAITS>& stream,
    ALLOCATOR const& allocator = ALLOCATOR());
» more...

Create a basic_osyncstream by moving from original.

basic_osyncstream(
    basic_osyncstream&& original,
    ALLOCATOR const& allocator) noexcept;
» more...

Create a basic_osyncstream that forwards output to wrapped.

explicit
basic_osyncstream(
    streambuf_type* wrapped,
    ALLOCATOR const& allocator = ALLOCATOR());
» more...

Parameters

NameDescription
originalobject from which to move-construct
streamoutput stream whose buffer receives synchronized output
allocatorallocator used to supply memory
wrappedstream buffer that receives synchronized output