| Issue |
86854
|
| Summary |
We could instead implement a custom type that calls the user-provided operation in its `operator+`, and then always call `operator+`. This would get rid of these macros and special casing for known operators.
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
ldionne
|
We could instead implement a custom type that calls the user-provided operation in its `operator+`, and then always call `operator+`. This would get rid of these macros and special casing for known operators.
Can be done in a follow-up.
_Originally posted by @ldionne in https://github.com/llvm/llvm-project/pull/66968#discussion_r1541578395_
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs