[swift-evolution] [pitch]:generate == function
Félix Cloutier
felixcca at yahoo.ca
Tue Jan 19 10:22:40 CST 2016
memberwise func ==? (if memberwise init does make it)
Félix
> Le 19 janv. 2016 à 08:17:40, Jan E. Schotsman via swift-evolution <swift-evolution at swift.org> a écrit :
>
> Hello,
>
> I find myself writing a lot of func ==(_:_:) stuff lately.
> I wonder if Swift could generate these automatically for a struct declared Equatable whose stored properties are all Equatable?
>
> Jan E.
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160119/8eb85611/attachment.html>
More information about the swift-evolution
mailing list