[#bsl-basic_ostringstream-2constructor-07] = xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic_ostringstream]::basic_ostringstream :relfileprefix: ../../ :mrdocs: Create a `basic_ostringstream` with the specified open mode. == Synopsis Declared in `<bslstl_ostringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit basic_ostringstream( ios_base::openmode modeBitMask, xref:bsl/basic_ostringstream/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- == Description Same as the constructor taking `const allocator_type&`. == Parameters [cols="1,4"] |=== | Name| Description | *modeBitMask* | open mode for the stream buffer | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#