What's the current phobos way to define generic data sources and sinks?
David Nadlinger
code at klickverbot.at
Wed Apr 16 14:10:52 PDT 2014
On Wednesday, 16 April 2014 at 21:05:30 UTC, Hannes Steffenhagen
wrote:
> I've looked at std.stream, but it says in big red scary letters
> that I probably shouldn't be using it. Is there a suitable
> replacement? If not, I'd just roll my own and provide a couple
> of templates to automatically generate wrappers for them.
Have you looked into input and output ranges? Without knowing the
specific details of what you need, ranges would be the way to go.
David
More information about the Digitalmars-d-learn
mailing list