[Issue 8483] Definition of isOutputRange warped due to "put" implementation
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Aug 10 01:07:51 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=8483
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #8 from yebblies <yebblies at gmail.com> ---
(In reply to hsteoh from comment #2)
> In light of recent realizations that output ranges are really only useful
> with specific operations at the end of UFCS chains, such as
> std.algorithm.copy or std.format.formattedWrite (and arguably, the latter
> could be rewritten to return an input range instead), I'm wondering if we
> should just get rid of output ranges altogether and just have .copy be the
> one-stop function for implementing data sinks.
std.format.formattedWrite is the best thing ever.
--
More information about the Digitalmars-d-bugs
mailing list