On Fri, 5 Oct 2007, Dmitry Potapov wrote: > > On the other hand, I don't see what is the problem with using C string > routines with it. ::data() returns a pointer and :capacity () returns > allocated size of the buffer. ::resize() changes the size of the string. > If you need a greater allocated size, you can use ::reserve(). > Or did I miss something? No, you didn't miss anything. Except for the fact that the original point was that it's just a damn lot simpler and more straightforward to code just using "sb->buf" for the data. IOW, go back two or three emails in the thread. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html