Create a StringBufContainer by moving from initialString.

Synopsis

Declared in <bslstl_stringbuf.h>

StringBufContainer(
    BloombergLP::bslmf::MovableRef<StringType> initialString,
    std::ios_base::openmode modeBitMask,
    ALLOCATOR const& allocator);

Description

Create a StringBufContainer object initialized from the specified initialString and modeBitMask, using the allocator in initialString to supply memory.

Parameters

Name

Description

initialString

initial character sequence moved into the buffer

modeBitMask

open mode for the contained stream buffer

allocator

allocator used to supply memory

Created with MrDocs