- static T infinity() ;
- static String T_to_str (T arg);
-
- // ugh, egcs 1.02 ices on this
-// T center() { return (left + right) / T(2);}
- // and can't handle this either
- // anyone want to make a bug report?
- T center() {
- T two (2);
- return (left + right) / two;
- }
- void translate (T t) {
- left += t;
- right += t;
- }
- T& idx (int j) {
- if (j==-1)
- return left;
- else if (j==1)
- return right;
- else
- assert (false);
- return left;