diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2009-08-06 13:28:41 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2009-08-06 13:28:41 +0900 |
| commit | ec8932d6a11977136516fb2b7a3e3015cab0c3ac (patch) | |
| tree | 54cd4fddea8cc19f96545456c6764d792f52c617 | |
| parent | f7a9805f7b3b6413c307863f1f16b320abb665ec (diff) | |
| download | msgpack-python-ec8932d6a11977136516fb2b7a3e3015cab0c3ac.tar.gz | |
fix missing tuple<>::value_type
| -rw-r--r-- | cpp/type/tuple.hpp.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/type/tuple.hpp.erb b/cpp/type/tuple.hpp.erb index 586d84c..0105feb 100644 --- a/cpp/type/tuple.hpp.erb +++ b/cpp/type/tuple.hpp.erb @@ -103,6 +103,7 @@ tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>> make_tuple(typename tuple_type<A0>::tr template <> struct tuple<> { + typedef tuple<> value_type; }; <%0.upto(GENERATION_LIMIT) {|i|%> template <typename A0<%1.upto(i) {|j|%>, typename A<%=j%><%}%>> |
