opEquals the template?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Oct 1 19:43:34 PDT 2011


On 10/2/11, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
>     bool opEquals(T)(ref const T rhs) const
>     {
>         return this == this;
>     }

This right here gets an award of some kind. I'll show myself the exit
doors. LOL.


More information about the Digitalmars-d mailing list