simd comparison operator?

Marco Leise Marco.Leise at gmx.de
Fri Feb 22 00:45:04 PST 2013


Am Tue, 19 Feb 2013 18:51:35 +0100
schrieb "tn" <no at email.com>:

> In many cases it would be nice, if "arr[] < x" translated to 
> "map!(a => a < x)(arr)" and similarly "arr1[] < arr2[]" 
> translated to "map!((a, b) => a < b)(arr1, arr2)" or equivalent 
> (*).

This would make the compiler depend on std.algorithm !

-- 
Marco



More information about the Digitalmars-d mailing list