| 93 | } |
| 94 | |
| 95 | bool is_empty(char c, const std::string& chars) { |
| 96 | size_t pos = chars.find_first_of(c); |
| 97 | if (pos == std::string::npos || pos == chars.size()) return false; |
| 98 | return true; |
| 99 | } |
| 100 | |
| 101 | bool is_empty(std::string& str, const std::string& chars) { |
| 102 | size_t pos = str.find_first_not_of(chars); |
no test coverage detected