bsl::basic_syncbuf::basic_syncbuf

Constructors

Synopses

Declared in <bslstl_syncbuf.h>

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.

basic_syncbuf(basic_syncbuf&& original);
» more...

Create a basic_syncbuf object without a wrapped buffer. Optionally specify an allocator used to supply memory.

explicit
basic_syncbuf(ALLOCATOR const& allocator = ALLOCATOR());
» more...

Create a basic_syncbuf object by moving the contents of the specified original object, using the specified allocator.

basic_syncbuf(
    basic_syncbuf&& original,
    ALLOCATOR const& allocator);
» more...

Create a basic_syncbuf object. Set the specified wrapped as a wrapped buffer. Optionally specify an allocator used to supply memory.

explicit
basic_syncbuf(
    streambuf_type* wrapped,
    ALLOCATOR const& allocator = ALLOCATOR());
» more...