Create a basic_stringbuf from the specified initial string.

Synopsis

Declared in <bslstl_stringbuf.h>

explicit
basic_stringbuf(
    StringType const& initialString,
    allocator_type const& allocator = allocator_type());

Description

Same as the constructor taking const allocator_type&.

Parameters

Name

Description

initialString

initial character sequence for the buffer

allocator

allocator used to supply memory

Created with MrDocs