| 582 | |
| 583 | |
| 584 | bool get_int_element( |
| 585 | const string& elem, |
| 586 | int& res, |
| 587 | const string& errtext) |
| 588 | { |
| 589 | if (! str2int(elem, res)) |
| 590 | { |
| 591 | cout << errtext << ": '" << elem << "'\n"; |
| 592 | return false; |
| 593 | } |
| 594 | else |
| 595 | return true; |
| 596 | } |
| 597 | |
| 598 | |
| 599 | bool strip_quotes( |
no test coverage detected