diff options
Diffstat (limited to 'modules/codec/c++/schema.hpp')
| -rw-r--r-- | modules/codec/c++/schema.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/codec/c++/schema.hpp b/modules/codec/c++/schema.hpp index 018cb41..340b122 100644 --- a/modules/codec/c++/schema.hpp +++ b/modules/codec/c++/schema.hpp @@ -178,6 +178,18 @@ struct MixedPrecision { static_assert(is_primitive<PrimA>::value, "InterfaceSchema needs to be a Primitive"); static_assert(is_primitive<PrimB>::value, "StorageSchema needs to be a Primitive"); }; +/** + * Classes enabling IdMap stuff + */ +template<typename T> +struct Id { + using Schema = Id; +}; + +template<typename T> +struct IdMap { + using Schema = IdMap<T>; +}; /** * Classes enabling Rpc calls |
