Re: help using Glib::ustring
- From: Chris Vine <chris cvine freeserve co uk>
- To: Jamiil Abduqadir <jalqadir gmail com>
- Cc: Gtkmm Mailing List <gtkmm-list gnome org>
- Subject: Re: help using Glib::ustring
- Date: Thu, 20 Dec 2007 20:53:42 +0000
On Thu, 2007-12-20 at 20:48 +0000, Chris Vine wrote:
[snip]
> *i = i->uppercase() would work but be completely bizarre as the function
> returns what you say is a global object, so what's the point?
Sigh.
Actually that won't work either, for the reason that as I have mentioned
Glib::ustring_Iterator<T>::operator*() returns a gunichar object
equating to wide character representation of the UTF-8 character at that
position in the string, and not the string itself.
s = s.uppercase() would work if 's' were not const.
Chris
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]