summaryrefslogtreecommitdiff
path: root/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'types.hpp')
-rw-r--r--types.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/types.hpp b/types.hpp
index 0f5ec42f..ef540a93 100644
--- a/types.hpp
+++ b/types.hpp
@@ -9,6 +9,10 @@ class TypeRef
{
public:
TypeRef() {}
+
+ struct TagUnit {}; // unit maps to a zero-length tuple, just easier to type
+ TypeRef(TagUnit) {}
+
struct TagPrimitive {};
TypeRef(TagPrimitive, enum eCoreType type) {}
struct TagTuple {};