Commit 14b4ddee authored by Tom Niget's avatar Tom Niget

Make user types default constructible (for now)

parent b3307cb7
......@@ -21,6 +21,7 @@ class ClassVisitor(NodeVisitor):
yield "template<typename... T> type(T&&... args) {"
yield "__init__(std::forward<T>(args)...);"
yield "}"
yield "type() {}"
yield "type(const type&) = delete;"
yield "type(type&&) = delete;"
yield "};"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment