Re: [gtkmm] Glib::Unicode::toupper can't be used the same way as toupper
- From: "Marcelo E. Magallon" <marcelo magallon bigfoot com>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] Glib::Unicode::toupper can't be used the same way as toupper
- Date: Sat, 13 Jul 2002 13:48:54 +0200
>> Morten Brix Pedersen <morten wtf dk> writes:
> It's Glib::ustring which fails, not std::string.
Oh. I'm sorry.
Looking at ustring.h, operator* returns a value, not a reference.
Transform needs a reference in order to work. The documentation for
Glib::ustring says:
* A writeable iterator isn't provided because: The number of bytes of
* the old UTF-8 character and the new one to write could be different.
* Therefore, any write operation would invalidate all other iterators
* pointing into the same string.
--
Marcelo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]