| 454 | return true; |
| 455 | } |
| 456 | bool match(const std::string &pattern) |
| 457 | { |
| 458 | for (std::string::const_iterator pi(pattern.begin()); pi != pattern.end(); ++pi) { |
| 459 | if (getc() != *pi) { |
| 460 | ungetc(); |
| 461 | return false; |
| 462 | } |
| 463 | } |
| 464 | return true; |
| 465 | } |
| 466 | }; |
| 467 | |
| 468 | template <typename Iter> int _parse_quadhex(input<Iter> &in) |