Make a hash out of two ranges

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Feb 27 20:21:22 PST 2013


On 2/28/13, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
>     foreach (x; r2)
>         writeln(r2);  // prints "[[1:2], [3:4]]" twice, why?

Oh dumb me I'm priting r2 instead of x, my bad.


More information about the Digitalmars-d-learn mailing list