[#bsl-StringBufContainer-2constructor-0a87] = xref:bsl.adoc[bsl]::xref:bsl/StringBufContainer.adoc[StringBufContainer]::StringBufContainer :relfileprefix: ../../ :mrdocs: Create a `StringBufContainer` with the specified mode and allocator. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- StringBufContainer( std::ios_base::openmode modeBitMask, ALLOCATOR const& allocator); ---- == Description Create a `StringBufContainer` object using the specified `modeBitMask` and `allocator`. == Parameters [cols="1,4"] |=== | Name| Description | *modeBitMask* | open mode for the contained stream buffer | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#