diff --git a/range.hpp b/range.hpp index d8910182..ee056e67 100644 --- a/range.hpp +++ b/range.hpp @@ -21,9 +21,9 @@ #ifndef __UTIL_RANGE_HPP #define __UTIL_RANGE_HPP +#include #include - namespace util { /** * Represents a continuous range of values. Contains convenience functions @@ -87,6 +87,12 @@ namespace util { }; + // convenience typedefs + typedef util::range rangef; + typedef util::range rangeu; + typedef util::range rangei; + + // ostream operators template std::ostream& operator <<(std::ostream &os, const range &rhs) {