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



Am 12.07.2002 22:41 schrieb(en) Morten Brix Pedersen:
Hi,

Using std::string, I converted a string to uppercase doing this:

    std::transform(str.begin(), str.end(), str.begin(), toupper);

I tried the same thing with Glib::ustring and it's toupper function:

    std::transform(str.begin(), str.end(), str.begin(),
Glib::Unicode::toupper);

However, gcc 3.1 fails with:

Time for a bug report?

-- Martin



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