Create a basic_stringbuf from an initial string and open mode.
Synopsis
Declared in <bslstl_stringbuf.h>
basic_stringbuf(
StringType const& initialString,
std::ios_base::openmode modeBitMask,
allocator_type const& allocator = allocator_type());
Description
Same as the constructor taking const StringType& and const allocator_type&.
Parameters
Name |
Description |
initialString |
initial character sequence for the buffer |
modeBitMask |
open mode for the stream buffer |
allocator |
allocator used to supply memory |
Created with MrDocs