[#bsl-basic_stringbuf-2constructor-0c8] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::basic_stringbuf :relfileprefix: ../../ :mrdocs: Create a `basic_stringbuf` object having the same value as the specified `original` object by moving the contents of `original` to the newly‐created object. Optionally specify the `allocator` used to supply memory. `original` is left in a valid but unspecified state. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_stringbuf(xref:bsl/basic_stringbuf.adoc[basic_stringbuf]&& original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#