/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* whatever.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos template void swap(T &x, T &y) { T tmp = x; x = y; y = tmp; } template T min(T const &x, T const &y) { if (x < y) return (x); return (y); } template T max(T const &x, T const &y) { if (x > y) return (x); return (y); } #endif