summaryrefslogtreecommitdiff
path: root/modules/codec/c++/transfer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/codec/c++/transfer.hpp')
-rw-r--r--modules/codec/c++/transfer.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/codec/c++/transfer.hpp b/modules/codec/c++/transfer.hpp
index 1fb297e..2fdd0b9 100644
--- a/modules/codec/c++/transfer.hpp
+++ b/modules/codec/c++/transfer.hpp
@@ -6,4 +6,16 @@ class data_server;
template<typename Schema, typename Encoding, typename Remote>
class data_client;
+
+namespace impl {
+template<typename Encoding, typename Storage, typename T>
+struct data_server_redux {
+ using type = std::tuple<>;
+};
+
+template<typename Encoding, typename Storage, typename... Schema>
+struct data_server_redux<Encoding, Storage, tmpl_group<Schema...>> {
+ using type = std::tuple<std::unordered_map<uint64_t, data<Schema, Encoding, Storage>>...>;
+};
+}
}