diff options
Diffstat (limited to 'src/types.hpp')
-rw-r--r-- | src/types.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/types.hpp b/src/types.hpp index a5052c9b..c56875f9 100644 --- a/src/types.hpp +++ b/src/types.hpp @@ -144,6 +144,11 @@ public: m_path( ::std::move(name) ),
m_tagged_ptr(nullptr)
{}
+ TypeRef(TagArg, ::std::string name, const AST::TypeParams& params):
+ m_class(GENERIC),
+ m_path( ::std::move(name) ),
+ m_tagged_ptr(¶ms)
+ {}
TypeRef(::std::string name):
TypeRef(TagArg(), ::std::move(name))
{}
|