phobos: What type to use instead of File when doing I/O on streams?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 10 02:20:47 PST 2015


On Monday, 9 November 2015 at 19:42:53 UTC, J.Frank wrote:
> - Can you flush() a range?
>
> - Can you use select() on a range?

Maybe you should factor out a function that does pure data 
processing on arbitrary ranges and manage sources of the ranges - 
opening, flushing and closing files - in the caller code?


More information about the Digitalmars-d-learn mailing list