Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1

Adam Ruppe destructionator at gmail.com
Fri Jan 14 23:34:24 UTC 2022


On Friday, 14 January 2022 at 22:45:53 UTC, Alexandru Ermicioi 
wrote:
> Imho interfaces could be smth like this:
>
> ```d
> interface Equals(U) {
>   bool equals(U other);


No const?

Note that opEquals like this already works on dmd master with the 
specific class and attributes.


More information about the Digitalmars-d mailing list