Re: [gtkmm] Glib::ustring bug?



> it correct too. however, once you've got the std::string, you then
> need to use std::string::c_str() on it to get the data as a C-style
> string, which is what you wanted to do.

No, it is not what I wanted to do.  I was feeding it into a
stringstream, not a c_strstream [*].  Whenever possible, I avoid using
C-style strings--as should, IMO, pretty much every C++ programmer.


[*] A little humor on my part.  Yes, I know there's no such beast.

-- 
Geek Code: GAT d- s+:+ a27 C++(+++)$ ULB++>++++ P++ L+++>++++ E W+ N+ w
           PS+ PE++ Y++ PGP++ t+ 5++ X-- R tv b+++ DI++ D--- G+ e++ h*
           r* y+* 




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