More flexible operator overloading #420
Labels
A-operator
Operators related proposals.
A-resolve
Proposals relating to name resolution.
A-typesystem
Type system related proposals & ideas
postponed
RFCs that have been postponed and may be revisited at a later time.
T-lang
Relevant to the language team, which will review and decide on the RFC.
The current system ties the various operators to a specific trait. This can be limited, as some uses for the operators might not fit that trait. For example, the return type might be different than expected, or the methods might be unsafe.
Postponed RFCs along these lines:
==
and friends beyondbool
: Generic boolean operators #1008The text was updated successfully, but these errors were encountered: