opEquals the template?
Jonathan M Davis
jmdavisProg at gmx.com
Sat Oct 1 19:47:02 PDT 2011
On Sunday, October 02, 2011 04:43:34 Andrej Mitrovic wrote:
> 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.
I don't know. If you're _that_ confused, you'll probably end up in the
bathroom instead. ;)
LOL. Yeah well, we all make dumb mistakes from time to time.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list