Lines.this

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;
class Lines(T)
this
(
InputStream stream = null
)

Meta