diff options
Diffstat (limited to 'types.hpp')
-rw-r--r-- | types.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 {};
|