Re: [gtkmm] Glib::ustring bug?



>> Please try data.c_str() before speaking of a bug. I suspect
>> that the string returned by data.raw() is not '\0'-terminated.
>
>Yes, .c_str() works properly.  However, if .raw() does not return a
>string representation which works with third-party STL add-ons, I think
>a word of warning somewhere in the documentation is appropriate. 

what makes you think that there is any expectation that .raw() would
work?

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]