Integral types that define opCmp, opEquals

Henning Hasemann hhasemann at web.de
Tue Mar 6 11:49:47 PST 2007


 
> untested but it might work:
> 
> const T i;
> is(i < i);
> 

I tried this last week or so. Result is:
found '<' when expecting ')'

So it seem is() doesnt like "<".

Henning
 
-- 
v4sw7Yhw4ln0pr7Ock2/3ma7uLw5Xm0l6/7DGKi2e6t6ELNSTVXb7AHIMOen5a2Xs5Mr2g5ACPR hackerkey.com



More information about the Digitalmars-d mailing list