std.csv.csvReader operating on File.byLine()
Dmitry Olshansky
dmitry.olsh at gmail.com
Sun Oct 7 15:18:57 PDT 2012
On 08-Oct-12 01:42, Rene Zwanenburg wrote:
> Ah yes, I understand. Thanks.
>
> For the sake of cleanliness (and Walter's article on component
> programming ;) ), is there a way to treat a file as an InputRange of
> characters? I think this is quite a common use case.
>
IRC something along the lines of:
foreach(dchar ch; LockingTextReader(file))
{
...
}
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list