summaryrefslogtreecommitdiff
path: root/cpp/src/msgpack
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/msgpack')
-rw-r--r--cpp/src/msgpack/type/tuple.hpp.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/cpp/src/msgpack/type/tuple.hpp.erb b/cpp/src/msgpack/type/tuple.hpp.erb
index 0d9ae91..ebef816 100644
--- a/cpp/src/msgpack/type/tuple.hpp.erb
+++ b/cpp/src/msgpack/type/tuple.hpp.erb
@@ -187,5 +187,20 @@ inline void operator<< (
} // namespace msgpack
+
+//inline std::ostream& operator<< (std::ostream& o, const msgpack::type::tuple<>& v) {
+// return o << "[]";
+//}
+//<%0.upto(GENERATION_LIMIT) {|i|%>
+//template <typename A0<%1.upto(i) {|j|%>, typename A<%=j%><%}%>>
+//inline std::ostream& operator<< (std::ostream& o,
+// const msgpack::type::tuple<A0<%1.upto(i) {|j|%>, A<%=j%><%}%>>& v) {
+// return o << "["
+// <%0.upto(i) {|j|%>
+// <<<%if j != 0 then%> ", " <<<%end%> v.template get<<%=j%>>()<%}%>
+// << "]";
+//}
+//<%}%>
+
#endif /* msgpack/type/tuple.hpp */