Re:A popular but wrong way to convert a string to uppercase ...
by account42 on Wednesday October 09, 2024 @08:40AM
(#41787267)
std::tolower / std::toupper are rubbish functions that can't do proper Unicode but still pull in the bloated locale machinery for what should be a simple conditional integer addition if all you care about is ASCII. Both have no valid use case and should be marked [[deprecated]] and erased from all teaching materials.
[ Parent
| on HN ]
There are no comments on this comment yet.