49 #define MAXMIN(retType, type1, type2) \
52 inline retType min(const type1 s1, const type2 s2) \
54 return (s1 < s2) ? s1 : s2; \
58 inline retType max(const type1 s1, const type2 s2) \
60 return (s2 < s1) ? s1 : s2; \
84 inline
int readInt(const std::
string& str)