Files Classes Functions Hierarchy
00001 #ifndef ZERO_H 00002 #define ZERO_H 00003 00004 #include <typedefs.h> 00005 00024 template<typename T> 00025 class zero 00026 { 00027 public: 00028 00030 static T val; 00031 00033 static boolc test(T const w) 00034 { 00035 if ((w<val)==false) 00036 return false; 00037 00038 if ((T)0<w+val) 00039 return true; 00040 00041 return false; 00042 } 00043 00044 00045 }; 00046 00047 00048 00049 00050 00051 #endif 00052 00053
1.5.8