[Issue 15798] std.algorithm.mutation.copy takes target by value
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 16 17:53:14 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=15798
Jack Stouffer <jack at jackstouffer.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jack at jackstouffer.com
--- Comment #2 from Jack Stouffer <jack at jackstouffer.com> ---
To be honest, the behavior of copy really only makes sense for array targets.
It doesn't make any sense to return the "remainder" of a generic output range.
copying to non-arrays should be deprecated
--
More information about the Digitalmars-d-bugs
mailing list