diff options
Diffstat (limited to 'modules/remote/c++/transfer.hpp')
-rw-r--r-- | modules/remote/c++/transfer.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/remote/c++/transfer.hpp b/modules/remote/c++/transfer.hpp new file mode 100644 index 0000000..2fdd0b9 --- /dev/null +++ b/modules/remote/c++/transfer.hpp @@ -0,0 +1,21 @@ +#pragma once + +namespace saw { +template<typename Schema, typename Encoding, typename Remote> +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>>...>; +}; +} +} |