| 82 | } |
| 83 | |
| 84 | std::string to_lowercase2(const std::string& str) { |
| 85 | std::string lower_str = str; |
| 86 | std::transform(lower_str.begin(), lower_str.end(), lower_str.begin(), |
| 87 | [](unsigned char c){ return std::tolower(c); }); |
| 88 | return lower_str; |
| 89 | } |
| 90 | |
| 91 | |
| 92 | void remove_all_occurrences_case_insensitive(std::string& str, const std::string& to_remove) { |
no test coverage detected