Construct an uninitialized iterator. For example:
auto lines = new Lines!(char); void somefunc (InputStream stream) { foreach (line; lines.set(stream)) Cout (line).newline; }
Construct a streaming iterator upon a stream:
void somefunc (InputStream stream) { foreach (line; new Lines!(char) (stream)) Cout (line).newline; }
Construct a streaming iterator upon a conduit:
foreach (line; new Lines!(char) (new File ("myfile"))) Cout (line).newline;
See Implementation
Construct an uninitialized iterator. For example:
Construct a streaming iterator upon a stream:
Construct a streaming iterator upon a conduit: