oversight with input ranges

Jesse Phillips via Digitalmars-d digitalmars-d at puremagic.com
Wed Apr 22 11:32:55 PDT 2015


On Wednesday, 22 April 2015 at 05:31:03 UTC, ketmar wrote:
> many algorithms in std.algo doesn't copy if you'll use `(ref 
> a)` labmdas.

I understand that, but the compiler won't complain "hey that 
isn't valid for all input ranges!" when it sees that someone 
copied front.


More information about the Digitalmars-d mailing list