3#include "../core/generator.hpp"
4#include "../core/string.hpp"
An arbitrary generator for producing sequential results on-the-fly.
Definition generator.hpp:71
This section contains file management functions and classes.
core::generator< zstring, fileHandle > lines(const zpath &filename)
Reads the contents of a file line-by-line.
State management struct for file streaming generator.
Definition lines.hpp:13
zpath filename
The filename.
Definition lines.hpp:15
bool used
Whether the file has been opened yet.
Definition lines.hpp:19
std::istream * stream
The current stream.
Definition lines.hpp:17