This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: [RFC] Default constructed stringbufs and stringstreams


Jonathan Wakely wrote:

Hi Paolo,

I particularly like this bit, setting _M_mode in the ctor init list.


Yeah! ;) And thanks for your fresh ideas, of course!

Now that it's set there, doesn't that make the openmode parameter to
_M_stringbuf_init() redundant ?


You are 100% right (I vaguely considered this possibility earlier today) but
for mainline (vs v7) we don't want to fiddle with signatures, as you alredy
imply below... My current plans include a little more safe work on the
mainline, then a merge to v7 and start there with invasive changes...

Paolo.


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