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

Synopsis

Declared in <bslstl_syncbuf.h>

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

Parameters

Name

Description

wrapped

stream buffer to wrap

allocator

allocator used to supply memory

Created with MrDocs