Re: Unordered container of Glib::ustring
- From: Hrvoje Niksic <hrvoje niksic avl com>
- To: gtk-list gnome org
- Subject: Re: Unordered container of Glib::ustring
- Date: Thu, 04 Apr 2013 11:19:35 +0200
On 04/03/2013 06:30 PM, Paul Davis wrote:
Why? Isn't it natural to wish to have a map containing user-defined
strings, which may be in any language?
that describes std::string too.
all that Glib::ustring gives you are UTF-8-aware iterators.
It also uses UTF-8 *storage*, which makes your strings four times
shorter (on Unix, twice shorter on Windows) if they are mostly-ASCII.
And it maps better with how Glib and Gtk work with strings (Unicode in
UTF-8 instead of array-of-wchar_t).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]