Create a StringBufContainer from the specified character range.

Synopsis

Declared in <bslstl_stringbuf.h>

template<class STRING_ITER>
StringBufContainer(
    STRING_ITER first,
    STRING_ITER last,
    std::ios_base::openmode modeBitMask,
    ALLOCATOR const& allocator);

Description

Create a StringBufContainer object whose buffer contains the characters in the specified [first, last)] range.

Parameters

Name

Description

first

beginning of the character range

last

end of the character range

modeBitMask

open mode for the contained stream buffer

allocator

allocator used to supply memory

Created with MrDocs