[swift-evolution] Proposal: Allows operator overloads in struct or classes based on return type
davesweeris at mac.com
Sat Dec 10 19:29:38 CST 2016
> On Dec 10, 2016, at 4:54 PM, Tommaso Piazza via swift-evolution <swift-evolution at swift.org> wrote:
> I have written a small proposal that would allow overloads of operators in structs/classes non only based on the types of the operands but on the return type as well.
> Please let me know you thoughts,
> https://github.com/blender/swift-evolution/blob/proposal/overloads-return-type/NNNN-allow-operator-overloads-in-structs-or-classes-based-on-return-type.md <https://github.com/blender/swift-evolution/blob/proposal/overloads-return-type/NNNN-allow-operator-overloads-in-structs-or-classes-based-on-return-type.md>
That seems like a bug to me… Dunno, maybe it’s intentional and I’m just not aware of the reasoning.
- Dave Sweeris
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution