Boost logo

Boost :

From: John Maddock (John_Maddock_at_[hidden])
Date: 2002-01-31 07:35:17


>Besides, case-insensitive string comparison raises two more questions.
>First, which locale do you do it in? The program's global locale is
>surely the wrong answer. Second, std::ctype's mechanism for case
>conversion isn't quite right. It assumes you can do case conversion one
>letter at a time and it assumes that the uppercase version of a string
>always has the same number of characters as the lowercase version. Both
>assumptions are wrong.

That's true, and grief this is getting complex :-(

- John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk