Boost logo

Boost Users :

From: Simon Buchan (simon_at_[hidden])
Date: 2005-10-17 02:42:13


Peter Dimov wrote:
> Jeff Garland wrote:
>
>
>> std::string str1("HeLlO WoRld!");
>> std::to_upper(str1); // str1=="HELLO WORLD!"
>
>
> Opening the to_upper can of worms may not be a good idea. ;-)
>
> std::string str1("weiß");
> std::to_upper(str1); // str1=="WEISS"?
>
You could have string::string() grab the locale() :D


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net