From e4280959f1977663be70a2ac539e44f42aea0cd3 Mon Sep 17 00:00:00 2001 From: Claudius 'keldu' Holeksa Date: Wed, 23 Oct 2024 15:30:16 +0200 Subject: Final stretch to have working rpc example --- modules/codec/c++/schema.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modules/codec/c++') diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index c0fb66f..65d7158 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -201,6 +201,14 @@ struct Interface,Names>...> { // NOLINTEND } // namespace schema +template +struct schema_type_at_index; + +template +struct schema_type_at_index> { + using Type = typename parameter_pack_type::type; +}; + template struct schema_has_member{ static_assert( -- cgit v1.2.3