Create a basic_stringstream from a string and open mode.
Declared in <bslstl_stringstream.h>
basic_stringstream(
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 the stream |
| modeBitMask | open mode for the stream buffer |
| allocator | allocator used to supply memory |