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)
91 bool readInt(
const char* buf,
int& val);
95 inline bool readInt(
const std::string& str,
int& val)
97 return readInt(str.c_str(), val);