This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: ostringstream buffers
- To: libstdc++@sourceware.cygnus.com
- Subject: Re: ostringstream buffers
- From: Nathan Myers <ncm@best.com>
- Date: Thu, 27 May 1999 19:55:39 -0700 (PDT)
"Edwards, Phil" wrote:
> + > ostringstream o;
> + > o << stuff << more stuff << stuff << ends;
> + > return o.str();
> +
> + ... even if it seems to have been overlooked in the standard?
What is this thread about? Of course stringbuf is supposed to
extend its buffer when you put more text into it. If it doesn't,
that's just a bug.
Nathan Myers
ncm@cantrip.org