Constructors

Synopses

Declared in <bslstl_osyncstream.h>

Create a basic_osyncstream by moving from original.

basic_osyncstream(basic_osyncstream&& original) noexcept;

Create a basic_osyncstream that forwards output to stream.

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

Create a basic_osyncstream by moving from original.

basic_osyncstream(
    basic_osyncstream&& original,
    ALLOCATOR const& allocator) noexcept;

Create a basic_osyncstream that forwards output to wrapped.

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

Parameters

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

Created with MrDocs