diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-05 16:50:33 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-07-05 16:50:33 +0200 |
commit | 614d0bf07789457a97d194c4af9cc7393f871351 (patch) | |
tree | fffe8f702589603b397497e14ca217428c98edec /modules/codec/c++/transfer.hpp | |
parent | 9f320474f1c19861d46f6c42a09f7bba9dc919bc (diff) |
Working on loopback data transmission
Diffstat (limited to 'modules/codec/c++/transfer.hpp')
-rw-r--r-- | modules/codec/c++/transfer.hpp | 12 |
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>>...>; +}; +} } |