interface opEquals

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Sat Nov 25 01:15:34 UTC 2023


On Friday, 24 November 2023 at 17:39:10 UTC, Antonio wrote:
> ...

Dunno if this might help, but I noticed that `==` sometimes calls 
`opEquals(const Object) const` instead of overload defined on 
class/interface, you might try and override it as well, and 
delegate to your overload that deals directly with `IOpt`.

Best regards,
Alexandru.




More information about the Digitalmars-d-learn mailing list