[#bsl-basic_ostringstream-2constructor-05] = xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic_ostringstream]::basic_ostringstream :relfileprefix: ../../ :mrdocs: Same as the constructor taking `const allocator_type&`. == Synopsis Declared in `<bslstl_ostringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit basic_ostringstream( xref:bsl/basic_ostringstream.adoc[StringType] const& initialString, xref:bsl/basic_ostringstream/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#