[#bsl-StringBufContainer-2constructor-02] = xref:bsl.adoc[bsl]::xref:bsl/StringBufContainer.adoc[StringBufContainer]::StringBufContainer :relfileprefix: ../../ :mrdocs: Create a `StringBufContainer` from the specified character range. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_ITER> StringBufContainer( STRING_ITER first, STRING_ITER last, std::ios_base::openmode modeBitMask, ALLOCATOR const& allocator); ---- == Description Create a `StringBufContainer` object whose buffer contains the characters in the specified `[first, last)]` range. == Parameters [cols="1,4"] |=== | Name| Description | *first* | beginning of the character range | *last* | end of the character range | *modeBitMask* | open mode for the contained stream buffer | *allocator* | allocator used to supply memory |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#