[Issue 6345] A different kind of vector operation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 17 10:23:41 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=6345

--- Comment #6 from Nick Treleaven <nick at geany.org> ---
A less drastic change would be this syntax, which also solves the ambiguities:

float*[] CBuffers = buffers[#].ptr;

m[#][1] = 1.0;

c[#] = a[#] < b[#]; // issue #5636

Note: issue #5636 was fixed by simply documenting that comparisons, equality,
etc make the operation not a vector op, just an array comparison.

--


More information about the Digitalmars-d-bugs mailing list