| 48 | |
| 49 | |
| 50 | std::string lowercase(const std::string& s) { |
| 51 | std::string r = s; |
| 52 | std::transform(r.begin(), r.end(), r.begin(), [](unsigned char c) { |
| 53 | return std::tolower(c); |
| 54 | }); |
| 55 | return r; |
| 56 | } |
| 57 | |
| 58 | |
| 59 | std::string uppercase(const std::string& s) { |
no outgoing calls
no test coverage detected