avoiding loops, allocation using arrays and ranges

Danni Coy via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 28 03:37:42 PDT 2016


> I believe you're able to use
> https://dlang.org/phobos/std_algorithm_mutation.html#.copy to achieve this.

yes that did the trick
and
alias copyTo = copy;
event makes it unambiguous which direction the copy is going in :)


More information about the Digitalmars-d mailing list