| 105 | } |
| 106 | |
| 107 | bool is_end(std::string& str, size_t end, const std::string& chars) { |
| 108 | size_t pos = str.find_first_not_of(chars, end); |
| 109 | if (pos == std::string::npos || pos == str.size()) return true; |
| 110 | return false; |
| 111 | } |
| 112 | |
| 113 | size_t first_word_end(std::string& str, size_t start) { |
| 114 | const std::string chars = "\t\n\v\f\r "; |
no test coverage detected