Re: [gtkmm] Glib::Unicode::toupper can't be used the same way as toupper



Hi,

* Marcelo E. Magallon <marcelo magallon bigfoot com> [2002-07-13 11:41:26]:
> >> Morten Brix Pedersen <morten wtf dk> writes:
> 
>  > I tried the same thing with Glib::ustring and it's toupper function:
>  > 
>  >     std::transform(str.begin(), str.end(), str.begin(), Glib::Unicode::toupper);
> 
>  It works here:
[...]
> int main(int argc, char* argv[])
> {
>     std::string str;
      ^^^^^^^^^^^^^^^^

It's Glib::ustring which fails, not std::string.

  - Morten.

--
http://wtf.dk/



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