Create a basic_stringstream from a string and open mode.
Synopsis
Declared in <bslstl_stringstream.h>
basic_stringstream(
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
Name |
Description |
initialString |
initial character sequence for the stream |
modeBitMask |
open mode for the stream buffer |
allocator |
allocator used to supply memory |
Created with MrDocs