This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ostringstream buffers


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]