Strange Behaviour on implementing Equatable on Generic Struct in Swift


(Choi Chi Piu) #1

I have come across a problem when implementing Equatable on Generic Struct.
I have posted the detail on StackOverflow
<http://stackoverflow.com/questions/40713057/strange-behaviour-on-implementing-equatable-on-generic-struct-in-swift>.
Would like to know how to correctly implement Equatable on Generic Struct.
Thank you.