bsl::basic_ostringstream::basic_ostringstream

Create a basic_ostringstream from an initial string and open mode.

Synopsis

Declared in <bslstl_ostringstream.h>

basic_ostringstream(
    StringType const& initialString,
    ios_base::openmode modeBitMask,
    allocator_type const& allocator = allocator_type());

Description

Same as the constructor taking const StringType& and const allocator_type&.

Parameters

NameDescription
initialStringinitial character sequence for output
modeBitMaskopen mode for the stream buffer
allocatorallocator used to supply memory