summaryrefslogtreecommitdiff
path: root/src/generic/enum.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/enum.hpp')
-rw-r--r--src/generic/enum.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/generic/enum.hpp b/src/generic/enum.hpp
index 1e83c24..2fe748d 100644
--- a/src/generic/enum.hpp
+++ b/src/generic/enum.hpp
@@ -31,6 +31,9 @@
# include "array.hpp"
+
+namespace tmwa
+{
template<class T, class E, E max>
using earray = GenericArray<T, EnumIndexing<E, max>>;
@@ -156,5 +159,6 @@ IteratorPair<ValueIterator<E, EnumMath<E>>> erange(E b, E e)
{
return {b, e};
}
+} // namespace tmwa
#endif // TMWA_GENERIC_ENUM_HPP