phobos: What type to use instead of File when doing I/O on streams?
J.Frank via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Nov 9 11:49:12 PST 2015
On Monday, 9 November 2015 at 19:38:06 UTC, Ali Çehreli wrote:
> As far as I understand, the issue is to prevent the seek() call
> at compile time, right? If so, the range types that byLine()
> and byLineCopy() return does not have such a member function.
>
> I think the code achieves that goal because we are not dealing
> with File objects anymore.
Yes and no. Again, seek() was just an example.
I'm looking for a replacement for the deprecated inferfaces
InputStream and OutputStream.
More information about the Digitalmars-d-learn
mailing list