[#bsl-basic_stringbuf-2constructor-0a7]
= xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic&lowbar;stringbuf]::basic&lowbar;stringbuf
:relfileprefix: ../../
:mrdocs:

Same as the constructor taking `const allocator&lowbar;type&amp;`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stringbuf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
basic&lowbar;stringbuf(
    xref:bsl/basic_stringbuf.adoc[StringType] const& initialString,
    xref:bsl/basic_stringbuf/allocator_type.adoc[allocator&lowbar;type] const& allocator = allocator&lowbar;type());
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
