[Issue 24039] Provide operator overload members for built-in types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 8 10:15:26 UTC 2023


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

Dennis <dkorpel at live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dkorpel at live.nl

--- Comment #1 from Dennis <dkorpel at live.nl> ---
If I understand correctly, you want the compiler to rewrite `1.opBinary!"+"(2)`
to `1 + 2` for meta-programming. Can you give an example where you want to use
this, instead of just the + operator?

--


More information about the Digitalmars-d-bugs mailing list