Overloading equivalence (==) operator for custom class in Swift
Is it possible to overload equivalence (==) operator for a custom class inside that custom class. However I know that it is possible to have this operator overloaded outside class scope. Appreciate any sample code. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire