Create a StringBufContainer from an initial string and open mode.

Synopsis

Declared in <bslstl_stringbuf.h>

StringBufContainer(
    StringType const& initialString,
    std::ios_base::openmode modeBitMask,
    ALLOCATOR const& allocator);

Description

Create a StringBufContainer object initialized with the specified initialString, modeBitMask, and allocator.

Parameters

Name

Description

initialString

initial character sequence for the buffer

modeBitMask

open mode for the contained stream buffer

allocator

allocator used to supply memory

Created with MrDocs