[swift-evolution] Proposal: Allows operator overloads in struct or classes based on return type

Tommaso Piazza tommy.piazza at ymail.com
Sat Dec 10 18:54:04 CST 2016


Hello,
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,/Tommaso
https://github.com/blender/swift-evolution/blob/proposal/overloads-return-type/NNNN-allow-operator-overloads-in-structs-or-classes-based-on-return-type.md


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161211/0e333bd5/attachment.html>


More information about the swift-evolution mailing list