The std.stream module documentation doesn't give any clues as to what an alternative might be.
I have this sort of code: this(InputStream input) { int line_no = 1; foreach (char[] line; input) { Am I right in thinking to use std.stdio with an InputRange? - Jason