On 05/01/2014 12:24 AM, Timon Gehr wrote:

I think this fixes the issue in general, for example, for ranges:

const rng1 = [1,2,3].map!(a=>2*a);
const rng2 = rng1.filter!(a=>!!(a&1)); // ok



Probably this should be slightly generalized, eg:
...

(The generalization is actually needed for the range example to work.)

Reply via email to