bsl::basic_ostringstream::basic_ostringstream

Create a basic_ostringstream by moving from initialString.

Synopsis

Declared in <bslstl_ostringstream.h>

basic_ostringstream(
    BloombergLP::bslmf::MovableRef<StringType> initialString,
    allocator_type const& allocator);

Description

Same as the constructor taking MovableRef<StringType>.

Parameters

NameDescription
initialStringinitial character sequence moved into the stream
allocatorallocator used to supply memory