Constructors

Synopses

Declared in <bslstl_syncbuf.h>

Create a basic_syncbuf by moving from original.

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

explicit
basic_syncbuf(ALLOCATOR const& allocator = ALLOCATOR());

Create a basic_syncbuf by moving from original.

basic_syncbuf(
    basic_syncbuf&& original,
    ALLOCATOR const& allocator);

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());

Parameters

Name

Description

original

object from which to move‐construct

allocator

allocator used to supply memory

wrapped

stream buffer to wrap

Created with MrDocs