License:
BSD style: see license.txtVersion:
Initial release: January 2006Author:
Kris
1 2 3 4 5 6 7 | auto lines = new Lines!(char); void somefunc (InputStream stream) { foreach (line; lines.set(stream)) Cout (line).newline; } |
1 2 3 4 5 | void somefunc (InputStream stream) { foreach (line; new Lines!(char) (stream)) Cout (line).newline; } |
1 2 | foreach (line; new Lines!(char) (new File ("myfile"))) Cout (line).newline; |