Create a basic_ostringstream from an initial string and open mode.
Declared in <bslstl_ostringstream.h>
basic_ostringstream(
StringType const& initialString,
ios_base::openmode modeBitMask,
allocator_type const& allocator = allocator_type());
Same as the constructor taking const StringType& and const allocator_type&.
| Name | Description |
|---|---|
| initialString | initial character sequence for output |
| modeBitMask | open mode for the stream buffer |
| allocator | allocator used to supply memory |