-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
A-operatorOperators related proposals.Operators related proposals.A-resolveProposals relating to name resolution.Proposals relating to name resolution.A-typesystemType system related proposals & ideasType system related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.RFCs that have been postponed and may be revisited at a later time.
Description
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:
- Ad-hoc operator overloading, which removes traits altogether: Ad-hoc operator overloading #399
- Generic boolean operators, which extended return type for
==
and friends beyondbool
: Generic boolean operators #1008
PathogenDavid
Metadata
Metadata
Assignees
Labels
A-operatorOperators related proposals.Operators related proposals.A-resolveProposals relating to name resolution.Proposals relating to name resolution.A-typesystemType system related proposals & ideasType system related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.Relevant to the language team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.RFCs that have been postponed and may be revisited at a later time.