The second version sets a copy of parameter s as the new internal character sequence and intializes the input and output sequences according to the mode used when the object was created.
Parameters
- s
- Standard string object whose content is to be copied into the internal character sequence.
Return Value
The second syntax returns a string object with a copy of the content in the internal character sequence.Example
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Basic template member declaration
( basic_stringbuf<charT,traits,Allocator> )| 1 2 |
|
See also
| stringbuf::stringbuf | Construct a string stream buffer object (constructor member) |
