Create a basic_stringbuf by moving from initialString.
Synopsis
Declared in <bslstl_stringbuf.h>
basic_stringbuf(
BloombergLP::bslmf::MovableRef<StringType> initialString,
std::ios_base::openmode modeBitMask);
Description
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.
Parameters
Name |
Description |
initialString |
initial character sequence moved into the buffer |
modeBitMask |
open mode for the stream buffer |
Created with MrDocs