bsl::basic_syncbuf::basic_syncbuf

Constructors

Synopses

Declared in <bslstl_syncbuf.h>

Create a basic_syncbuf by moving from original.

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 by moving from original.

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...

Parameters

NameDescription
originalobject from which to move-construct
allocatorallocator used to supply memory
wrappedstream buffer to wrap