| 352 | } |
| 353 | |
| 354 | static inline ostream* |
| 355 | openOutputStream(const string& path) |
| 356 | { |
| 357 | if (path == "-") |
| 358 | return &cout; |
| 359 | return new ofstream(path.c_str()); |
| 360 | } |
| 361 | |
| 362 | static inline void |
| 363 | closeInputStream(istream* in, const string& path) |
no test coverage detected