3 * - By John Hodge (thePowersGang)
8 #ifndef _LIBCXX_ALGORITHM_
9 #define _LIBCXX_ALGORITHM_
15 const T& max(const T& a, const T& b)
20 template <class T, class Compare>
21 const T& max(const T& a, const T& b, Compare comp)
23 return comp(a, b) ? b : a;
27 const T& min(const T& a, const T& b)
32 template <class T, class Compare>
33 const T& min(const T& a, const T& b, Compare comp)
35 return comp(a, b) ? a : b;