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: [Patch/RFC] Improve (maybe ;) basic_stringbuf::overflow


Benjamin Kosnik wrote:

Looks fine, you might use __tmp like the rest of the local variables,
and move it below the comment.

Agreed! This is of more value now that I have learned that my
improvement for str() was not really 100% safe due to the COW
nature of our basic_string...

Paolo.


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