[#bsl-basic_syncbuf-2constructor-0b] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::basic_syncbuf :relfileprefix: ../../ :mrdocs: Create a `basic_syncbuf` object having the same value as the specified `original` object by moving the contents of `original` to the newly‐created object. Optionally specify an `allocator` used to supply memory. `original.get_wrapped() == nullptr` after the call. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_syncbuf(xref:bsl/basic_syncbuf.adoc[basic_syncbuf]&& original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#