[Issue 5636] Array ops use lexicographic comparison instead of vector-style element-wise

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 5 14:00:37 UTC 2023


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

Nick Treleaven <nick at geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick at geany.org

--- Comment #6 from Nick Treleaven <nick at geany.org> ---
The digitalmars.com links are not working ATM.

But because `a[] < b[]` has a defined meaning as an expression in itself, the
vector op is ambiguous if allowed. So instead the docs* should clearly define
this. To make this work, we need unique syntax for vector ops - see the end of
this comment:
https://issues.dlang.org/show_bug.cgi?id=6345#c5

* PR incoming.

--


More information about the Digitalmars-d-bugs mailing list