[#bsl-basic_stringbuf-2constructor-0a9] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::basic_stringbuf :relfileprefix: ../../ :mrdocs: Same as the constructor taking `const allocator_type&`. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit basic_stringbuf( std::ios_base::openmode modeBitMask, xref:bsl/basic_stringbuf/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#