#include #include #include "book.h" class intintCompare { public: static bool lt(int x, int y) { return x < y; } static bool eq(int x, int y) { return x == y; } static bool gt(int x, int y) { return x > y; } }; class iiiComp { public: inline static bool lt(int x, int y) { return x < y; } inline static bool eq(int x, int y) { return x == y; } inline static bool gt(int x, int y) { return x > y; } }; int main(int argc, char** argv) { int a = 10; int b = 20; bool dum; Assert(argc == 2, "Usage: comptest "); int numruns = atoi(argv[1]); int i; Settime(); for(i=0; i