1 #ifndef _library__minmax__hpp__included__
2 #define _library__minmax__hpp__included__
7 * Return minimum of a and b.
9 template<typename T
> T
min(T a
, T b
)
11 return (a
< b
) ? a
: b
;
15 * Return maximum of a and b.
17 template<typename T
> T
max(T a
, T b
)
19 return (a
< b
) ? b
: a
;