| 262 | */ |
| 263 | template<typename InputStream> |
| 264 | void SkipWhitespace(InputStream& is) { |
| 265 | internal::StreamLocalCopy<InputStream> copy(is); |
| 266 | InputStream& s(copy.s); |
| 267 | |
| 268 | typename InputStream::Ch c; |
| 269 | while ((c = s.Peek()) == ' ' || c == '\n' || c == '\r' || c == '\t') |
| 270 | s.Take(); |
| 271 | } |
| 272 | |
| 273 | inline const char* SkipWhitespace(const char* p, const char* end) { |
| 274 | while (p != end && (*p == ' ' || *p == '\n' || *p == '\r' || *p == '\t')) |
no test coverage detected