On Tue, 01 Jul 2003 07:36:17 -0400, Davis King wrote:
[snip]......
>> Because it would be illegal to do something like this:
>>
>> struct foo { };
>>
>> int a;
>> foo f;
>>
>> a < f;
>
> What do you mean? That shouldn't compile anyways since there is no function
> which defines operator< for an int and a foo right?
> Having the above templated operator < doesn't change that.
What I'm saying is that it would be stupid to compare if a lion is less
than a tiger. Ok, is one lion less than another would be saner, then
again, we have to defne what attribute of the lion we want to compare,
height, weight, age, etc...
-Dhruv.
|