[Issue 16657] alias this interacts with generated opCmp and opEquals

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Jun 30 09:55:12 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=16657

--- Comment #6 from Andrei Alexandrescu <andrei at erdani.com> ---
Upon further consideration we need to fix this. Requiring people who use the
"alias this" feature to also remember to define "opEquals" is the kind of
long-distance dependency that is the subject of "Effective D" tidbits of advice
of the exact kind we do our best to avoid.

--


More information about the Digitalmars-d-bugs mailing list