[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: overloading __lt, __le to return a userdefined object
- From: "Mustafa K. Atlihan" <mkatlihan@...>
- Date: Fri, 20 May 2011 14:36:53 +0300
> And if so, why not 'overload' the other comparison operators, 'and' and
> 'or' ??
I would agree. All logical operators could/should have that flexibility, no
particular reason to single out 'and' or 'or'. As for performance, I would
expect a single type-check to be the only overhead when __lt is overloaded.
Btw, I am new to this group so I am not sure what to expect from the
developers based on todo requests appearing here. Any feedback on what I
should not be expecting?
> steve d.
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 6137 (20110520) __________
> The message was checked by ESET NOD32 Antivirus.
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6137 (20110520) __________
The message was checked by ESET NOD32 Antivirus.