bsl::basic_osyncstream::basic_osyncstream

Create a basic_osyncstream by moving from original.

Synopsis

Declared in <bslstl_osyncstream.h>

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

Description

Create a basic_osyncstream object having the same value as the specified original object by moving the contents of original to the newly-created object. Optionally specify an allocator used to supply memory. original.get_wrapped() == nullptr after the call.

Parameters

NameDescription
originalobject from which to move-construct
allocatorallocator used to supply memory