summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/type/tuple.hpp.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/type/tuple.hpp.erb b/cpp/type/tuple.hpp.erb
index 501a0f1..2930ae0 100644
--- a/cpp/type/tuple.hpp.erb
+++ b/cpp/type/tuple.hpp.erb
@@ -91,6 +91,8 @@ private:
template <>
struct tuple<> {
+ tuple() {}
+ tuple(object o) { o.convert(this); }
typedef tuple<> value_type;
};
<%0.upto(GENERATION_LIMIT) {|i|%>