[#bsl-basic_syncbuf-2constructor-0b] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::basic_syncbuf :relfileprefix: ../../ :mrdocs: Create a `basic_syncbuf` by moving from `original`. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- basic_syncbuf(xref:bsl/basic_syncbuf.adoc[basic_syncbuf]&& original); ---- == Description 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. == Parameters [cols="1,4"] |=== | Name| Description | *original* | object from which to move‐construct |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#