/* * Acess2 C++ Library * - By John Hodge (thePowersGang) * * string (header) * - C++'s String type */ #ifndef _LIBCXX_ALGORITHM_ #define _LIBCXX_ALGORITHM_ namespace std { // Maximum template const T& max(const T& a, const T& b) { return (a const T& max(const T& a, const T& b, Compare comp) { return comp(a, b) ? b : a; } template const T& min(const T& a, const T& b) { return (a const T& min(const T& a, const T& b, Compare comp) { return comp(a, b) ? a : b; } }; // namespace std #endif // vim: ft=cpp