[#bsl-basic_istringstream-2constructor-08] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::basic_istringstream :relfileprefix: ../../ :mrdocs: Create a `basic_istringstream` from the specified initial string. == Synopsis Declared in `<bslstl_istringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit basic_istringstream( xref:bsl/basic_istringstream.adoc[StringType] const& initialString, xref:bsl/basic_istringstream/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- == Description Same as the constructor taking `const allocator_type&`. == Parameters [cols="1,4"] |=== | Name| Description | *initialString* | initial character sequence for input | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#