NB: std::isspace is not used because it also counts '\f' and '\v' as whitespace, whereas base::trimws only checks for ' ', '\t', '\r', and '\n' */
| 34 | '\f' and '\v' as whitespace, whereas base::trimws only |
| 35 | checks for ' ', '\t', '\r', and '\n' */ |
| 36 | inline bool isws(const char c) { |
| 37 | return c == ' ' || c == '\t' || c == '\n' || c == '\r'; |
| 38 | } |
| 39 | |
| 40 | inline const char* trim_left(const char* str) { |
| 41 | if (!str) { |
no outgoing calls
no test coverage detected