The class
basic_ostringstream<charT, traits, Allocator>
supports writing objects of class
basic_string<charT, traits, Allocator>. It uses a
basic_stringbuf
object to control the associated storage
. For the sake of exposition, the maintained data is presented here as:
- sb, the stringbuf object.