diff options
Diffstat (limited to 'backend/util.h')
-rw-r--r-- | backend/util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/backend/util.h b/backend/util.h index 83cae58..15dca58 100644 --- a/backend/util.h +++ b/backend/util.h @@ -7,3 +7,11 @@ void safe_free(char * & ptr); void safe_free(const char * & ptr); void safe_free(FILE * & ptr); +template <typename T> +inline T min(const T &, const T &); + +template <typename T> +inline T max(const T &, const T &); + +#include "util.hpp" + |