Create a basic_stringbuf by moving from initialString.
Declared in <bslstl_stringbuf.h>
basic_stringbuf(
BloombergLP::bslmf::MovableRef<StringType> initialString,
std::ios_base::openmode modeBitMask);
Create a basic_stringbuf object. Use the specified initialString indicating the initial sequence of characters that this buffer will access or manipulate. Optionally specify a modeBitMask indicating whether this buffer may be read from, written to, or both. initialString is left in a valid but unspecified state.
| Name | Description |
|---|---|
| initialString | initial character sequence moved into the buffer |
| modeBitMask | open mode for the stream buffer |