Create a basic_syncbuf object. Set the specified wrapped as a wrapped buffer. Optionally specify an allocator used to supply memory.
Declared in <bslstl_syncbuf.h>
explicit
basic_syncbuf(
streambuf_type* wrapped,
ALLOCATOR const& allocator = ALLOCATOR());
| Name | Description |
|---|---|
| wrapped | stream buffer to wrap |
| allocator | allocator used to supply memory |