| 492 | } |
| 493 | |
| 494 | void toupper(std::string &str) |
| 495 | { |
| 496 | //std::transform(str.begin(), str.end(), str.begin(), std::bind2nd(std::ptr_fun(&std::toupper<char>), std::locale(""))); |
| 497 | for(char *c=(char *)str.c_str(); *c; ++c) |
| 498 | { |
| 499 | *c = toupper(*c); |
| 500 | } |
| 501 | } |
| 502 | |
| 503 | int toint(const std::string &str, int failValue = 0) |
| 504 | { |
no test coverage detected