| 121 | } |
| 122 | |
| 123 | string string::uppercase() { |
| 124 | return apply_transform(*this, [](const std::string & s) { |
| 125 | std::string res = s; |
| 126 | std::transform(res.begin(), res.end(), res.begin(), ::toupper); |
| 127 | return res; |
| 128 | }); |
| 129 | } |
| 130 | string string::lowercase() { |
| 131 | return apply_transform(*this, [](const std::string & s) { |
| 132 | std::string res = s; |
no test coverage detected