Create a basic_stringbuf from the specified initial string.
Declared in <bslstl_stringbuf.h>
explicit
basic_stringbuf(
StringType const& initialString,
allocator_type const& allocator = allocator_type());
Same as the constructor taking const allocator_type&.
| Name | Description |
|---|---|
| initialString | initial character sequence for the buffer |
| allocator | allocator used to supply memory |