RE: [gtkmm] struct ustring::SequenceToString<In,char> : public st d::string



> I would also like to hear what the rational behind Glib::ustring is.....

Gnome2/Gtk2 support multiple character sets via Unicode and Pango. 
std::string is for 8-bit encodings only [*].


[*] ... okay, you could make a basic_string<wchar> and hack Unicode into
C++'s string class that way, but it'd be ug-lee.  Glib::ustring is
probably a better option.
 
-- 
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]