Create a basic_stringstream by moving from initialString.
Synopsis
Declared in <bslstl_stringstream.h>
explicit
basic_stringstream(BloombergLP::bslmf::MovableRef<StringType> initialString);
Description
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. If modeBitMask is not supplied, this buffer is created with ios_base::in | ios_base::out. Optionally specify the allocator used to supply memory. If allocator is not supplied, the allocator in initialString is used. initialString is left in a valid but unspecified state.
Parameters
Name |
Description |
initialString |
initial character sequence (moved from) |
Created with MrDocs