On Sat, 15 Oct 2005 19:30:15 +0300, 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"?
Actually, I think we should -- even if it 'just does what C does' I don't want to have to adapt my C++ back to see everytime I need to uppercase a string. And now for small bit of humor (found on the Web see P-38 Can Opener) CAN OPENER DIRECTIONS Open blade. Place opener as shown in diagram. Twist down to puncture slot in can top inside rim. Cut top by advancing opener with rocking mo- tion. Take small bites. I especially like the last bit of advice in the directions ;-) Jeff